mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
haiku: cast pointer to SDL_FunctionPointer
This commit is contained in:
@@ -72,7 +72,7 @@ SDL_FunctionPointer HAIKU_GL_GetProcAddress(_THIS, const char *proc)
|
|||||||
get_image_symbol((image_id) (addr_t) _this->gl_config.dll_handle,
|
get_image_symbol((image_id) (addr_t) _this->gl_config.dll_handle,
|
||||||
proc, B_SYMBOL_TYPE_ANY,
|
proc, B_SYMBOL_TYPE_ANY,
|
||||||
&location)) == B_OK) {
|
&location)) == B_OK) {
|
||||||
return location;
|
return (SDL_FunctionPointer)location;
|
||||||
} else {
|
} else {
|
||||||
SDL_SetError("Couldn't find OpenGL symbol");
|
SDL_SetError("Couldn't find OpenGL symbol");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user