mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 04:31:09 +00:00
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:
parent
d1ca122955
commit
5c5a9beba5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue