summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward O'Callaghan <funfunctor@folklore1984.net>2017-02-08 01:15:50 +1100
committerEdward O'Callaghan <funfunctor@folklore1984.net>2017-02-08 01:15:50 +1100
commit649ae2629b306c9a7f55726704bef4aae010ef8d (patch)
tree31faa95be65576d15cf2b56c037069ae8dbd9616 /src
parent590f6a79802feead544b1ab46b2aae42f2633599 (diff)
src/main.cpp: Oh my! drawFrame() stub
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2609358..dbacb24 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -590,11 +590,16 @@ private:
void mainLoop() {
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
+ drawFrame();
}
glfwDestroyWindow(window);
}
+ void drawFrame() {
+ // XXX workout syncronization
+ }
+
void createInstance() {
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;