mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(D3D8) Buildfixes
This commit is contained in:
parent
7934e677ca
commit
a496bfa57b
@ -194,8 +194,8 @@ static void d3d8_blit_to_texture(
|
||||
|
||||
if (chain->last_width != width || chain->last_height != height)
|
||||
{
|
||||
if (IDirect3DTexture8_LockRect(tex, level, lr, NULL, D3DLOCK_NOSYSLOCK) ==
|
||||
D3D_OK)
|
||||
if (IDirect3DTexture8_LockRect(tex, 0, lr,
|
||||
NULL, D3DLOCK_NOSYSLOCK) == D3D_OK)
|
||||
{
|
||||
memset(lr->pBits, 0, chain->tex_h * lr->Pitch);
|
||||
IDirect3DTexture8_UnlockRect((LPDIRECT3DTEXTURE8)tex, 0);
|
||||
@ -261,7 +261,7 @@ static void d3d8_render(
|
||||
static INLINE void *d3d8_vertex_buffer_new(
|
||||
LPDIRECT3DDEVICE8 dev,
|
||||
unsigned length, unsigned usage,
|
||||
unsigned fvf, D3DPOOL pool, void *handle)
|
||||
unsigned fvf, D3DPOOL pool)
|
||||
{
|
||||
void *buf = NULL;
|
||||
if (FAILED(IDirect3DDevice8_CreateVertexBuffer(
|
||||
|
Loading…
x
Reference in New Issue
Block a user