mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 12:54:01 +02:00
ifdef for win32 only code
This commit is contained in:
@@ -226,6 +226,8 @@ void Window::setupGraphicsScreen(int depthBits, int stencilBits) {
|
||||
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, newDepthBits);
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
static HWND GetSDLWindow()
|
||||
{
|
||||
SDL_SysWMinfo info;
|
||||
@@ -236,6 +238,8 @@ static HWND GetSDLWindow()
|
||||
return info.window;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void Window::toggleFullscreen() {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
|
||||
|
Reference in New Issue
Block a user