]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
change D3D9 implementation of TEXTYPE_SHADOWMAP textures to use CreateDepthStencilSur...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Sep 2010 10:58:28 +0000 (10:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Sep 2010 10:58:28 +0000 (10:58 +0000)
commit3b8498c0b8b8ae1740c13519d3ceea8d9823774e
tree70f22d695a34dd5a59908b2f7d0b398041199985
parentf3581bd039cdb478dfd0e7bbc48a66bad593ae7a
change D3D9 implementation of TEXTYPE_SHADOWMAP textures to use CreateDepthStencilSurface instead of CreateTexture, this fixes lots of errors (PIX works, REF rasterizer works, etc)
implement freeing of D3D9 textures
disable the texture size padding on D3D9 as it was not the cause of PIX trouble

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10465 d7cf8633-e32d-0410-b094-e92efae38249
gl_backend.c
gl_textures.c
r_textures.h