Add some window hints
This commit is contained in:
parent
95ccf7af6b
commit
e243a666f1
@ -48,6 +48,8 @@ int main() {
|
|||||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
||||||
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);
|
||||||
|
glfwWindowHintString(GLFW_X11_CLASS_NAME, "Couch");
|
||||||
|
|
||||||
window = glfwCreateWindow(width, height, "Couch", NULL, NULL);
|
window = glfwCreateWindow(width, height, "Couch", NULL, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user