mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Hopefully fixed the black screen bug with certain emulators.
This commit is contained in:
parent
bd41892cfd
commit
35d8afc174
|
@ -1,3 +1,6 @@
|
|||
October 26
|
||||
-Hopefully fixed the black screen bug with certain programs.
|
||||
|
||||
October 25
|
||||
-Added gameImageNotFound tag for an image to display if a game image is not found/defined.
|
||||
-Fixed keyboard not skipping joystick input configuration.
|
||||
|
|
|
@ -172,10 +172,6 @@ namespace Renderer
|
|||
|
||||
void destroySurface()
|
||||
{
|
||||
SDL_FreeSurface(sdlScreen);
|
||||
sdlScreen = NULL;
|
||||
SDL_Quit();
|
||||
|
||||
eglSwapBuffers(display, surface);
|
||||
eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
||||
eglDestroySurface(display, surface);
|
||||
|
@ -185,6 +181,10 @@ namespace Renderer
|
|||
display = EGL_NO_DISPLAY;
|
||||
surface = EGL_NO_SURFACE;
|
||||
context = EGL_NO_CONTEXT;
|
||||
|
||||
SDL_FreeSurface(sdlScreen);
|
||||
sdlScreen = NULL;
|
||||
SDL_Quit();
|
||||
}
|
||||
|
||||
bool init(int w, int h)
|
||||
|
|
Loading…
Reference in a new issue