Index: trunk/src/gl/gl_device.cc
===================================================================
--- trunk/src/gl/gl_device.cc	(revision 204)
+++ trunk/src/gl/gl_device.cc	(revision 228)
@@ -15,7 +15,7 @@
 using namespace nv;
 
-window* gl_device::create_window( uint16 width, uint16 height )
+window* gl_device::create_window( uint16 width, uint16 height, bool fullscreen )
 {
-	return new gl_window( this, width, height );
+	return new gl_window( this, width, height, fullscreen );
 }
 
Index: trunk/src/gl/gl_window.cc
===================================================================
--- trunk/src/gl/gl_window.cc	(revision 204)
+++ trunk/src/gl/gl_window.cc	(revision 228)
@@ -203,12 +203,14 @@
 
 
-gl_window::gl_window( device* dev, uint16 width, uint16 height )
+gl_window::gl_window( device* dev, uint16 width, uint16 height, bool fullscreen )
 	: m_device( dev ), m_width( width ), m_height( height ), m_title("NV Engine"), m_handle( nullptr )
 {
 #if NV_SDL_VERSION == NV_SDL_12
 	uint32 flags = SDL_OPENGL;
+	if (fullscreen) flags |= SDL_FULLSCREEN;
 	m_handle = SDL_SetVideoMode( width, height, 32, flags );
 #elif NV_SDL_VERSION == NV_SDL_20
 	uint32 flags = SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN;
+	if (fullscreen) flags |= SDL_FULLSCREEN;
 	m_handle = SDL_CreateWindow("Nova Engine", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
 		width, height, flags );
