From 8f74b1a555da95136c2321e252e58d19344ddd43 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 26 May 2012 10:20:06 +0200 Subject: [PATCH] Build fixes for Win32. --- gfx/context/sdl_ctx.h | 1 + gfx/gl.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/context/sdl_ctx.h b/gfx/context/sdl_ctx.h index 7f3167bc52..ce1b5f4b21 100644 --- a/gfx/context/sdl_ctx.h +++ b/gfx/context/sdl_ctx.h @@ -17,6 +17,7 @@ #define _SDL_CTX_H #include "SDL.h" +#include "SDL_opengl.h" #include "SDL_version.h" #if SDL_VERSION_ATLEAST(1, 3, 0) diff --git a/gfx/gl.c b/gfx/gl.c index 7c60d62f15..0d0e38c789 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -34,8 +34,7 @@ #ifdef HAVE_SDL #define NO_SDL_GLEXT -#include "SDL.h" -#include "SDL_opengl.h" +#include "context/sdl_ctx.h" #include "../input/rarch_sdl_input.h" #endif