mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Removed "SDL_app" caption before window is created initially.
This commit is contained in:
@@ -18,11 +18,10 @@
|
|||||||
* 3. This notice may not be removed or altered from any source distribution.
|
* 3. This notice may not be removed or altered from any source distribution.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "Graphics.h"
|
|
||||||
|
|
||||||
// LOVE
|
|
||||||
#include <common/config.h>
|
#include <common/config.h>
|
||||||
|
|
||||||
|
#include "Graphics.h"
|
||||||
|
|
||||||
namespace love
|
namespace love
|
||||||
{
|
{
|
||||||
namespace graphics
|
namespace graphics
|
||||||
@@ -186,6 +185,9 @@ namespace opengl
|
|||||||
// Fullscreen?
|
// Fullscreen?
|
||||||
Uint32 sdlflags = fullscreen ? (SDL_OPENGL | SDL_FULLSCREEN) : SDL_OPENGL;
|
Uint32 sdlflags = fullscreen ? (SDL_OPENGL | SDL_FULLSCREEN) : SDL_OPENGL;
|
||||||
|
|
||||||
|
if(!isCreated())
|
||||||
|
setCaption("");
|
||||||
|
|
||||||
// Have SDL set the video mode.
|
// Have SDL set the video mode.
|
||||||
if(SDL_SetVideoMode(width, height, 32, sdlflags ) == 0)
|
if(SDL_SetVideoMode(width, height, 32, sdlflags ) == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user