mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 00:17:18 +00:00
Fixed a bunch of SwapWindow calls that needed their return value updated
This commit is contained in:
@@ -177,7 +177,9 @@ PSP_GL_GetSwapInterval(_THIS)
|
||||
int
|
||||
PSP_GL_SwapWindow(_THIS, SDL_Window * window)
|
||||
{
|
||||
eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface);
|
||||
if (!eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface)) {
|
||||
return SDL_SetError("!eglSwapBuffers() failed");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user