瀏覽代碼

React to window resize in Linux.

Michal Srb 11 年之前
父節點
當前提交
11739b9b4a
共有 1 個文件被更改,包括 6 次插入0 次删除
  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;
             }