Browse Source

depth -> depthstencil

rdb 17 years ago
parent
commit
0b5d517dcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/filter/FilterManager.py

+ 1 - 1
direct/src/filter/FilterManager.py

@@ -291,7 +291,7 @@ class FilterManager(DirectObject):
         if (buffer == None):
             return buffer
         if (depthtex):
-            buffer.addRenderTexture(depthtex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPDepth)
+            buffer.addRenderTexture(depthtex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPDepthStencil)
         if (colortex):
             buffer.addRenderTexture(colortex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPColor)
         if (auxtex0):