Skip to content

Commit

Permalink
Patched to compile...uh, everywhere. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 27, 2014
1 parent 87cfee2 commit aff44cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/render/direct3d/SDL_render_d3d.c
Expand Up @@ -1892,7 +1892,8 @@ D3D_DestroyRenderer(SDL_Renderer * renderer)
}
#endif /* SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED */

/* This function needs to always exist for the Dynamic API. */
#ifdef __WIN32__
/* This function needs to always exist on Windows, for the Dynamic API. */
IDirect3DDevice9 *
SDL_RenderGetD3D9Device(SDL_Renderer * renderer)
{
Expand All @@ -1915,5 +1916,6 @@ SDL_RenderGetD3D9Device(SDL_Renderer * renderer)

return device;
}
#endif

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit aff44cc

Please sign in to comment.