SDL: Fix GLES2 build
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Nov 2016 13:45:45 -0500
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/platform/sdl/gles2-sdl.c
→
src/platform/sdl/gles2-sdl.c
@@ -9,9 +9,9 @@ #include "gl-common.h"
#include <malloc.h> -static bool mSDLGLES2Init(struct SDLSoftwareRenderer* renderer); -static void mSDLGLES2RunloopGBA(struct SDLSoftwareRenderer* renderer, void* user); -static void mSDLGLES2Deinit(struct SDLSoftwareRenderer* renderer); +static bool mSDLGLES2Init(struct mSDLRenderer* renderer); +static void mSDLGLES2RunloopGBA(struct mSDLRenderer* renderer, void* user); +static void mSDLGLES2Deinit(struct mSDLRenderer* renderer); void mSDLGLES2Create(struct mSDLRenderer* renderer) { renderer->init = mSDLGLES2Init;@@ -19,7 +19,7 @@ renderer->deinit = mSDLGLES2Deinit;
renderer->runloop = mSDLGLES2RunloopGBA; } -bool mSDLGLES2Init(struct SDLSoftwareRenderer* renderer) { +bool mSDLGLES2Init(struct mSDLRenderer* renderer) { #ifdef BUILD_RASPI bcm_host_init(); renderer->display = eglGetDisplay(EGL_DEFAULT_DISPLAY);