Browse Source

texturev: Fixed window resizing.

Branimir Karadžić 8 years ago
parent
commit
6023a016c4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/texturev/texturev.cpp

+ 2 - 0
tools/texturev/texturev.cpp

@@ -1266,6 +1266,8 @@ int _main_(int _argc, char** _argv)
 		while (!entry::processWindowEvents(windowState, debug, reset) )
 		{
 			const entry::MouseState& mouseState = windowState.m_mouse;
+			width  = windowState.m_width;
+			height = windowState.m_height;
 
 			if (!windowState.m_dropFile.isEmpty() )
 			{