Skip to content

Commit

Permalink
Create D3D9 C codepath
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Oct 1, 2017
1 parent 95d0358 commit b825328
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gfx/common/d3d_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b825328

Please sign in to comment.