Fixes bug #1889, allows for GL Context deletion/recreation on Android
Thanks ny00!
This commit is contained in:
parent
a99dfca578
commit
2a6b235190
3 changed files with 41 additions and 14 deletions
|
@ -119,7 +119,9 @@ Android_GL_SwapWindow(_THIS, SDL_Window * window)
|
|||
void
|
||||
Android_GL_DeleteContext(_THIS, SDL_GLContext context)
|
||||
{
|
||||
__android_log_print(ANDROID_LOG_INFO, "SDL", "[STUB] GL_DeleteContext\n");
|
||||
if (context) {
|
||||
Android_JNI_DeleteContext(context);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_ANDROID */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue