Initial support of linux for viewer example.

This commit is contained in:
Syoyo Fujita
2016-04-19 20:34:51 +09:00
parent 28fc3523d4
commit 7399aedfdd
2 changed files with 10 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
#include <vector>
#include <string>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <cmath>
@@ -345,6 +346,7 @@ int main(int argc, char **argv)
}
glfwMakeContextCurrent(window);
glfwSwapInterval(1);
// Callback
glfwSetWindowSizeCallback(window, reshapeFunc);