Condition around setting class name
This commit is contained in:
parent
5fdb7488f1
commit
fbaf5ec460
@ -10,7 +10,9 @@ void Window::Init() {
|
|||||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
||||||
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
||||||
glfwWindowHint(GLFW_FLOATING, GLFW_TRUE);
|
glfwWindowHint(GLFW_FLOATING, GLFW_TRUE);
|
||||||
|
#if GLFW_VERSION_MINOR >= 2
|
||||||
glfwWindowHintString(GLFW_X11_CLASS_NAME, "Couch");
|
glfwWindowHintString(GLFW_X11_CLASS_NAME, "Couch");
|
||||||
|
#endif
|
||||||
|
|
||||||
glfwWindow = glfwCreateWindow(width, height, "Couch", NULL, NULL);
|
glfwWindow = glfwCreateWindow(width, height, "Couch", NULL, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user