mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
No success with Windows fixes, have to delay until someone with a
Windows computer can look into it
This commit is contained in:
parent
fba3815ddc
commit
5ad633ef26
|
@ -597,6 +597,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt
|
|||
#ifdef __ANDROID__
|
||||
*pWidth = *pDesktopWidth;
|
||||
*pHeight = *pDesktopHeight;
|
||||
/*
|
||||
#elif defined(CONF_FAMILY_WINDOWS)
|
||||
if(*pWidth == 0 || *pHeight == 0)
|
||||
{
|
||||
|
@ -613,6 +614,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Screen, int *pWidt
|
|||
*pHeight = *pHeight * 96 / dpi;
|
||||
}
|
||||
}
|
||||
*/
|
||||
#else
|
||||
if(*pWidth == 0 || *pHeight == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue