mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 02:44:00 +00:00
(D3D) Build fixes
This commit is contained in:
parent
c0f9c4ec41
commit
152dd2e073
@ -1402,7 +1402,7 @@ static bool d3d_overlay_load(void *data,
|
||||
overlay_t &overlay = d3d->overlays[i];
|
||||
|
||||
overlay.tex = (LPDIRECT3DTEXTURE)
|
||||
d3d_texture_new(d3d->dev,
|
||||
d3d_texture_new(d3d->dev, NULL,
|
||||
width, height, 1,
|
||||
0,
|
||||
D3DFMT_A8R8G8B8,
|
||||
@ -1754,13 +1754,13 @@ static void d3d_set_menu_texture_frame(void *data,
|
||||
if (d3d->menu)
|
||||
d3d_texture_free(d3d->menu->tex);
|
||||
|
||||
d3d->menu_tex = (LPDIRECT3DTEXTURE)
|
||||
d3d->menu->tex = (LPDIRECT3DTEXTURE)
|
||||
d3d_texture_new(d3d->dev, NULL,
|
||||
width, height, 1,
|
||||
0, D3DFMT_A8R8G8B8,
|
||||
D3DPOOL_MANAGED, 0, 0, 0, NULL, NULL);
|
||||
|
||||
if (!d3d->menu_tex)
|
||||
if (!d3d->menu->tex)
|
||||
{
|
||||
RARCH_ERR("[D3D]: Failed to create menu texture.\n");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user