Explorar el Código

Add a config option for the management of textures with DirectX management.

aignacio_sf hace 19 años
padre
commit
ce3ed75e1a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx

+ 1 - 1
panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx

@@ -127,7 +127,7 @@ DXGraphicsStateGuardian9(GraphicsPipe *pipe) :
     Geom::GR_triangle_strip | Geom::GR_triangle_fan |
     Geom::GR_flat_first_vertex;
 
-  _gsg_managed_textures = dx_management;
+  _gsg_managed_textures = dx_management | dx_texture_management;
   _gsg_managed_vertex_buffers = dx_management;
   _gsg_managed_index_buffers = dx_management;