SDL: Fix GLES2 build

This commit is contained in:
Jeffrey Pfau 2016-11-22 13:45:45 -05:00
parent ea7534e801
commit fbb29de160
1 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@
#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 @@ void mSDLGLES2Create(struct mSDLRenderer* renderer) {
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);