mirror of https://github.com/mgba-emu/mgba.git
SDL: Fix some warnings
This commit is contained in:
parent
de61a4aea4
commit
d312aa2c7a
|
@ -10,6 +10,7 @@ void GBASDLGLCommonSwap(struct VideoBackend* context) {
|
|||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
SDL_GL_SwapWindow(renderer->window);
|
||||
#else
|
||||
UNUSED(renderer);
|
||||
SDL_GL_SwapBuffers();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include "gl-common.h"
|
||||
|
||||
#include <malloc.h>
|
||||
|
||||
static bool GBASDLGLES2Init(struct SDLSoftwareRenderer* renderer);
|
||||
static void GBASDLGLES2Runloop(struct GBAThread* context, struct SDLSoftwareRenderer* renderer);
|
||||
static void GBASDLGLES2Deinit(struct SDLSoftwareRenderer* renderer);
|
||||
|
|
Loading…
Reference in New Issue