use OpenGL 4.0 by default

Wed, 08 Nov 2023 21:53:21 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 08 Nov 2023 21:53:21 +0100
changeset 13
f04a49b2aeee
parent 12
d89e0ebc76d2
child 14
9dbfc0031887

use OpenGL 4.0 by default

src/window.c file | annotate | diff | comparison | revisions
--- a/src/window.c	Wed Nov 08 21:46:29 2023 +0100
+++ b/src/window.c	Wed Nov 08 21:53:21 2023 +0100
@@ -30,7 +30,6 @@
 #include "ascension/error.h"
 #include "ascension/utils.h"
 
-#include <cx/linked_list.h>
 #include <cx/printf.h>
 
 #include <GL/glew.h>
@@ -107,8 +106,8 @@
     settings->dimensions.width = 800;
     settings->dimensions.height = 600;
     settings->fullscreen = 0;
-    settings->gl_major_version = 3;
-    settings->gl_minor_version = 3;
+    settings->gl_major_version = 4;
+    settings->gl_minor_version = 0;
     settings->title = "Ascended Window";
 }
 

mercurial