create swapchain, images and image views for the swapchain
[vkray] / src / app.c
index 4d845c5..1d97906 100644 (file)
--- a/src/app.c
+++ b/src/app.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include "app.h"
 #include "vk.h"
 
@@ -21,6 +22,9 @@ void app_display(void)
 
 void app_reshape(int x, int y)
 {
+       if(vk_reshape(x, y) == -1) {
+               abort();
+       }
 }
 
 void app_keyboard(int key, int press)