(D3D8) Buildfix

This commit is contained in:
twinaphex 2022-04-20 18:06:20 +02:00
parent ac45f16d79
commit 5b97ba65c0

View File

@ -261,7 +261,7 @@ static INLINE void d3d8_lock_rectangle_clear(
level = 0;
#endif
memset(lr->pBits, level, rectangle_height * lr->Pitch);
IDirect3DTexture8_UnlockRect(tex, 0);
IDirect3DTexture8_UnlockRect((LPDIRECT3DTEXTURE8)tex, 0);
}
static INLINE void d3d8_set_texture(