Fix depth-based filters (like SSAO) on Windows

This commit is contained in:
rdb 2010-10-02 11:08:22 +00:00
parent 754cb8e4bc
commit d6666e5aa3

View File

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