Skip to content
Browse files

Fixed bug 2385 - error: unknown type name 'IDirect3DDevice9'

Sandu Liviu Catalin

I'm unable to compile the latest SDL (directly from the repository) even though I disabled every DirectX option since I don't need DirectX.

I allways het these errors:
D:\DevLibs\SDL\src\render\direct3d\SDL_render_d3d.c:1897:1: error: unknown type name 'IDirect3DDevice9'
D:\DevLibs\SDL\src\render\direct3d\SDL_render_d3d.c:1898:25: error: unknown type name 'SDL_Renderer'
  • Loading branch information
slouken committed Feb 9, 2014
1 parent b331ada commit 3ab3ea642db9df7693909b0c7306aeb9230d9742
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/render/direct3d/SDL_render_d3d.c
@@ -20,14 +20,16 @@
#include "../../SDL_internal.h"

#include "SDL_render.h"
#include "SDL_system.h"


#include "../../core/windows/SDL_windows.h"

#include "SDL_hints.h"
#include "SDL_loadso.h"
#include "SDL_syswm.h"
#include "SDL_system.h"
#include "../SDL_sysrender.h"
#include "../../video/windows/SDL_windowsvideo.h"

@@ -1916,6 +1918,6 @@ SDL_RenderGetD3D9Device(SDL_Renderer * renderer)

return device;
#endif /* __WIN32__ */

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

0 comments on commit 3ab3ea6

Please sign in to comment.