all repos — mgba @ 7e04e445637cc85d506c437876b1cf1c3a658903

mGBA Game Boy Advance Emulator

SDL: Fix GLES2 build
Jeffrey Pfau jeffrey@endrift.com
Tue, 22 Nov 2016 13:45:45 -0500
commit

7e04e445637cc85d506c437876b1cf1c3a658903

parent

a104ee5f560ed0a2cbbe3f2e695b68c56a527b41

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/platform/sdl/gles2-sdl.csrc/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);