Patched to compile...uh, everywhere. :)
authorRyan C. Gordon <icculus@icculus.org>
Mon, 27 Jan 2014 16:13:13 -0500
changeset 8131311302021bc9
parent 8130 506eb1e0ae85
child 8132 06922987b6ff
Patched to compile...uh, everywhere. :)
src/render/direct3d/SDL_render_d3d.c
     1.1 --- a/src/render/direct3d/SDL_render_d3d.c	Mon Jan 27 16:10:15 2014 -0500
     1.2 +++ b/src/render/direct3d/SDL_render_d3d.c	Mon Jan 27 16:13:13 2014 -0500
     1.3 @@ -1892,7 +1892,8 @@
     1.4  }
     1.5  #endif /* SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED */
     1.6  
     1.7 -/* This function needs to always exist for the Dynamic API. */
     1.8 +#ifdef __WIN32__
     1.9 +/* This function needs to always exist on Windows, for the Dynamic API. */
    1.10  IDirect3DDevice9 *
    1.11  SDL_RenderGetD3D9Device(SDL_Renderer * renderer)
    1.12  {
    1.13 @@ -1915,5 +1916,6 @@
    1.14  
    1.15      return device;
    1.16  }
    1.17 +#endif
    1.18  
    1.19  /* vi: set ts=4 sw=4 expandtab: */