mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-08-04 16:38:22 +00:00
libretro: Fix a crash with video refresh.
This commit is contained in:
parent
e48d9d5cd2
commit
fa2918e2d0
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ CreateWindowFramebuffer(SDL_VideoDevice* device,
|
|||
/* Create a new one */
|
||||
SDL_GetWindowSizeInPixels(window, &w, &h);
|
||||
_surface = SDL_CreateRGBSurfaceWithFormat(0, w, h, 0, surface_format);
|
||||
_surface_real = SDL_CreateRGBSurfaceWithFormat(0, w, h, 0, surface_format);
|
||||
_surface_real = SDL_CreateRGBSurfaceWithFormat(0, 320, 240, 0, surface_format);
|
||||
if (!_surface_real) {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue