MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isFullscreen

Method isFullscreen

Engine/source/windowManager/sdl/sdlWindow.cpp:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233bool PlatformWindowSDL::isFullscreen()
234{
235 U32 flags = SDL_GetWindowFlags( mWindowHandle );
236 if( flags & SDL_WINDOW_FULLSCREEN || flags & SDL_WINDOW_FULLSCREEN_DESKTOP )
237 return true;
238
239 return false;
240}
241
242void PlatformWindowSDL::_setFullscreen(const bool fullscreen)
243{

Callers 1

resetModeMethod · 0.45

Calls 1

SDL_GetWindowFlagsFunction · 0.85

Tested by

no test coverage detected