Rename CreateWindow() to CreateSDLWindow()

CreateWindow() is a symbol internal to Windows. We can't use it in out
code or it will collide.
This commit is contained in:
Yamagi Burmeister 2013-10-12 11:07:05 +02:00
parent d1ca122955
commit 5c5a9beba5

View file

@ -315,7 +315,7 @@ static qboolean IsFullscreen()
#endif
}
static qboolean CreateWindow(int flags)
static qboolean CreateSDLWindow(int flags)
{
#if SDL_VERSION_ATLEAST(2, 0, 0)
int windowPos = SDL_WINDOWPOS_UNDEFINED;
@ -562,7 +562,7 @@ GLimp_InitGraphics(qboolean fullscreen)
while (1)
{
if (!CreateWindow(flags))
if (!CreateSDLWindow(flags))
{
if (counter == 1)
{