mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Create D3D9 C codepath
This commit is contained in:
parent
95d035883c
commit
b8253284e6
@ -80,7 +80,10 @@ LPDIRECT3DTEXTURE d3d_texture_new(LPDIRECT3DDEVICE dev,
|
||||
palette, &buf);
|
||||
else
|
||||
{
|
||||
#if defined(HAVE_D3D8) && !defined(__cplusplus)
|
||||
#if defined(HAVE_D3D9) && !defined(__cplusplus)
|
||||
hr = IDirect3DDevice9_CreateTexture(dev, width, height, miplevels, usage,
|
||||
format, pool, &buf);
|
||||
#elif defined(HAVE_D3D8) && !defined(__cplusplus)
|
||||
hr = IDirect3DDevice8_CreateTexture(dev, width, height, miplevels, usage,
|
||||
format, pool, &buf);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user