mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
(XDK D3D) Clear texture by tex_h instead of tex_w - inline with PC D3D now
This commit is contained in:
parent
5d8e4cb358
commit
1f5769f1db
@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
#define D3DTexture_LockRectClear(pass, tex, level, lockedrect, rect, flags) \
|
#define D3DTexture_LockRectClear(pass, tex, level, lockedrect, rect, flags) \
|
||||||
D3DTexture_LockRect(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)
|
#define D3DDevice_DrawPrimitive(dev, type, start, count) dev->DrawPrimitive(type, start, count)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user