main: print currently used GPU at the start
parent
b1e420f564
commit
2ec728897e
|
@ -53,9 +53,7 @@ int main()
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
glEnable(GL_CULL_FACE); //GL_BACK GL_CCW by default
|
glEnable(GL_CULL_FACE); //GL_BACK GL_CCW by default
|
||||||
|
|
||||||
// Create an invisible window for the secondary thread
|
std::cout << "Using GPU: " << glGetString(GL_VENDOR) << " " << glGetString(GL_RENDERER) << "\n";
|
||||||
glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);
|
|
||||||
GLFWwindow* chunkmanager_context = glfwCreateWindow(640, 480, "", NULL, NULL);
|
|
||||||
|
|
||||||
SpaceFilling::initLUT();
|
SpaceFilling::initLUT();
|
||||||
chunkmanager::init();
|
chunkmanager::init();
|
||||||
|
|
Loading…
Reference in New Issue