Fixed windows message loop, reduce number of view updates

This commit is contained in:
saschawillems 2016-07-31 12:41:50 +02:00
parent 24daaac70e
commit ba8ff21d36
2 changed files with 22 additions and 15 deletions

View file

@ -72,6 +72,8 @@ private:
VkResult createInstance(bool enableValidation);
// Get window title with example name, device, et.
std::string getWindowTitle();
/** brief Indicates that the view (position, rotation) has changed and */
bool viewUpdated = false;
// Destination dimensions for resizing the window
uint32_t destWidth;
uint32_t destHeight;