mirror of https://github.com/mgba-emu/mgba.git
SDL: Set the window name when using SDL 1.2
This commit is contained in:
parent
bc9dff00da
commit
11559cb2a9
|
@ -55,5 +55,6 @@ void mSDLGLCommonInit(struct mSDLRenderer* renderer) {
|
|||
#else
|
||||
SDL_SetVideoMode(renderer->viewportWidth, renderer->viewportHeight, 32, SDL_OPENGL | (SDL_FULLSCREEN * renderer->fullscreen));
|
||||
#endif
|
||||
SDL_WM_SetCaption(projectName, "");
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ bool mSDLSWInit(struct mSDLRenderer* renderer) {
|
|||
#else
|
||||
SDL_SetVideoMode(renderer->viewportWidth, renderer->viewportHeight, 32, SDL_DOUBLEBUF | SDL_HWSURFACE);
|
||||
#endif
|
||||
SDL_WM_SetCaption(projectName, "");
|
||||
|
||||
unsigned width, height;
|
||||
renderer->core->desiredVideoDimensions(renderer->core, &width, &height);
|
||||
|
|
Loading…
Reference in New Issue