(XDK D3D) Clear texture by tex_h instead of tex_w - inline with PC D3D now

This commit is contained in:
twinaphex 2014-06-07 07:31:41 +02:00
parent 5d8e4cb358
commit 1f5769f1db

View File

@ -100,7 +100,7 @@
#define D3DTexture_LockRectClear(pass, tex, level, lockedrect, rect, flags) \
D3DTexture_LockRect(tex, level, &lockedrect, rect, flags); \
memset(lockedrect.pBits, 0, pass->tex_w * lockedrect.Pitch)
memset(lockedrect.pBits, 0, pass->tex_h * lockedrect.Pitch)
#define D3DDevice_DrawPrimitive(dev, type, start, count) dev->DrawPrimitive(type, start, count)