Skip to content

Commit 4bc265b

Browse files
Lol erorr was because I didn't reboot after driver installation, all fine
1 parent 9c25f11 commit 4bc265b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ else()
3737
target_link_libraries(${APP_NAME}
3838
${OPENGL_LIBRARIES}
3939
${GLEW_SHARED_LIB}
40-
${GLEW_STATIC_LIB}
40+
#${GLEW_STATIC_LIB}
4141
${GLFW_STATIC_LIB}
4242
Threads::Threads
4343
${X11_LIBRARIES}

main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#define GLEW_STATIC
21
#include "GL/glew.h"
32
#include "GLFW/glfw3.h"
43
#include <iostream>
@@ -9,7 +8,7 @@ int main() {
98
}
109

1110
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
12-
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
11+
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
1312
GLFWwindow* window = glfwCreateWindow(600, 300, "Test", NULL, NULL);
1413
glfwMakeContextCurrent(window);
1514

0 commit comments

Comments
 (0)