diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-26 16:37:53 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-26 16:37:53 +1000 |
commit | f083cacb259054ce996b70f8b9dc0d9eb0bdbfb8 (patch) | |
tree | cfec9813483e139d8f4ca71eefb4ec9a0450826f /src/ral/backends/opengl/backend_opengl.c | |
parent | 9d11440c145cef897853576b509316bf952cb121 (diff) |
wip egui
Diffstat (limited to 'src/ral/backends/opengl/backend_opengl.c')
-rw-r--r-- | src/ral/backends/opengl/backend_opengl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ral/backends/opengl/backend_opengl.c b/src/ral/backends/opengl/backend_opengl.c index 7929a16..9122e15 100644 --- a/src/ral/backends/opengl/backend_opengl.c +++ b/src/ral/backends/opengl/backend_opengl.c @@ -37,10 +37,10 @@ bool GPU_Backend_Init(const char* window_name, struct GLFWwindow* window, BackendPools_Init(&context.pool_arena, &context.gpu_pools); context.resource_pools = res_pools; - glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4); - glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1); - glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); - glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); + // glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4); + // glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1); + // glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); + // glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // glad: load all opengl function pointers if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress)) { |