diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2017-02-08 01:15:50 +1100 |
---|---|---|
committer | Edward O'Callaghan <funfunctor@folklore1984.net> | 2017-02-08 01:15:50 +1100 |
commit | 649ae2629b306c9a7f55726704bef4aae010ef8d (patch) | |
tree | 31faa95be65576d15cf2b56c037069ae8dbd9616 /src | |
parent | 590f6a79802feead544b1ab46b2aae42f2633599 (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.cpp | 5 |
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; |