projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
302a005
)
tri/cube: Add WM_SIZE to Win32 event handler to resize a window.
author
Ian Elliott
<ian@LunarG.com>
Wed, 21 Oct 2015 21:14:07 +0000
(15:14 -0600)
committer
Ian Elliott
<ian@lunarg.com>
Tue, 27 Oct 2015 16:35:56 +0000
(10:35 -0600)
demos/cube.c
patch
|
blob
|
history
demos/tri.c
patch
|
blob
|
history
diff --git
a/demos/cube.c
b/demos/cube.c
index 6637bce85d55ed6b83b53330864835ba599084a3..b1c4c6f13aa1f18f2afed0a313c9d4812c4bbc8c 100644
(file)
--- a/
demos/cube.c
+++ b/
demos/cube.c
@@
-1944,6
+1944,9
@@
LRESULT CALLBACK WndProc(HWND hWnd,
case WM_PAINT:
demo_run(&demo);
break;
+ case WM_SIZE:
+ demo_resize(&demo);
+ break;
default:
break;
}
diff --git
a/demos/tri.c
b/demos/tri.c
index fa99549031aef3961c67e926c249dd2e4ec88193..9b512aefbdbaf0acf4988a111ce3b8bdb07bd1c6 100644
(file)
--- a/
demos/tri.c
+++ b/
demos/tri.c
@@
-1569,6
+1569,9
@@
LRESULT CALLBACK WndProc(HWND hWnd,
demo_run(&demo);
break;
}
+ case WM_SIZE:
+ demo_resize(&demo);
+ break;
default:
break;
}