Explorar el Código

React to window resize in Linux.

Michal Srb hace 11 años
padre
commit
11739b9b4a
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      gameplay/src/PlatformLinux.cpp

+ 6 - 0
gameplay/src/PlatformLinux.cpp

@@ -1313,6 +1313,12 @@ int Platform::enterMessagePump()
                     }
                     break;
 
+                case ConfigureNotify:
+                    {
+                        gameplay::Platform::resizeEventInternal(evt.xconfigure.width, evt.xconfigure.height);
+                    }
+                    break;
+
                 default:
                     break;
             }