sdl2 syms
This commit is contained in:
parent
e724035e1c
commit
dc9d0922af
|
@ -370,7 +370,7 @@ static void SDL2_Harness_GetViewport(int* x, int* y, float* width_multipler, flo
|
|||
static void SDL2_Harness_GetPrefPath(char* app_name, char* path) {
|
||||
char* sdl_path = SDL2_GetPrefPath(NULL, app_name);
|
||||
strcpy(path, sdl_path);
|
||||
SDL_free(sdl_path);
|
||||
SDL2_free(sdl_path);
|
||||
}
|
||||
|
||||
static int SDL2_Harness_Platform_Init(tHarness_platform* platform) {
|
||||
|
|
|
@ -39,7 +39,8 @@
|
|||
X(GL_SetAttribute, int, (SDL_GLattr, int)) \
|
||||
X(GL_SetSwapInterval, int, (int)) \
|
||||
X(GL_SwapWindow, void, (SDL_Window*)) \
|
||||
X(GetPrefPath, char*, (const char* org, const char* app))
|
||||
X(GetPrefPath, char*, (const char* org, const char* app)) \
|
||||
X(free, void, (void*))
|
||||
|
||||
#undef SDL2_SYM
|
||||
|
||||
|
|
Loading…
Reference in New Issue