dx9 erroroneously reports no power of 2 texture support

Bug #784925 reported by zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Medium
Unassigned

Bug Description

dxGraphicStateGuardian9.cxx never checks whether or not power of 2 texture support is supported by the graphics card
and causes the GSG to throw an erroraneous error message when making buffers. (Loading normal textures appears to have a hack in dxTextureContext to check for this functionality.)

This fix, Line 2581 dxGraphicStateGuardian9.cxx (add anywhere in DXGraphicsStateGuardian9::reset near the end of the function), will correct the check.l

  //zhao 5_18
  _supports_tex_non_pow2 = !(d3d_caps.TextureCaps & D3DPTEXTURECAPS_POW2);

rdb (rdb)
Changed in panda3d:
importance: Undecided → Medium
milestone: none → 1.8.0
status: New → Fix Committed
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.