Removed some window event handling code.
authorRene Lindsay <rene@lunarg.com>
Fri, 10 Jun 2016 22:56:01 +0000 (16:56 -0600)
committerRene Lindsay <rene@lunarg.com>
Fri, 10 Jun 2016 23:18:14 +0000 (17:18 -0600)
Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604

demos/vulkaninfo.c

index e646a8a..58fd6a3 100644 (file)
@@ -804,17 +804,6 @@ static void app_gpu_destroy(struct app_gpu *gpu) {
 
 // MS-Windows event handling function:
 LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
-    switch (uMsg) {
-    case WM_CLOSE:
-        PostQuitMessage(WM_QUIT);
-        break;
-    case WM_PAINT:
-        break;
-    case WM_SIZE:
-        break;
-    default:
-        break;
-    }
     return (DefWindowProc(hWnd, uMsg, wParam, lParam));
 }