Cleaned up includes

Fixed typos
This commit is contained in:
Sascha Willems 2020-08-09 13:16:35 +02:00
parent 9207090718
commit a465bad5aa
70 changed files with 46 additions and 897 deletions

View file

@ -8,19 +8,6 @@
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <vector>
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <vulkan/vulkan.h>
#include "vulkanexamplebase.h"
#define ENABLE_VALIDATION false
@ -317,10 +304,10 @@ public:
if (overlay->checkBox("Negative viewport height", &negativeViewport)) {
buildCommandBuffers();
}
if (overlay->sliderInt("offfset x", &offsetx, -(int32_t)width, (int32_t)width)) {
if (overlay->sliderInt("offset x", &offsetx, -(int32_t)width, (int32_t)width)) {
buildCommandBuffers();
}
if (overlay->sliderInt("offfset y", &offsety, -(int32_t)height, (int32_t)height)) {
if (overlay->sliderInt("offset y", &offsety, -(int32_t)height, (int32_t)height)) {
buildCommandBuffers();
}
}