diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-08-11 03:03:09 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-08-11 03:03:09 +0200 |
commit | 9b5ca88b97c3a00153946920ae52870c452fb4a1 (patch) | |
tree | 2bb1584448414f2cc127f9d79428ccef96df1de3 /c++/window-opengl/gl_context.h | |
parent | ac0096ca16e5aee2ce58a40a30dd1f033369efdb (diff) |
c++,window-opengl: Fixing comp issues
Diffstat (limited to 'c++/window-opengl/gl_context.h')
-rw-r--r-- | c++/window-opengl/gl_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/window-opengl/gl_context.h b/c++/window-opengl/gl_context.h index 8821650..9f684fb 100644 --- a/c++/window-opengl/gl_context.h +++ b/c++/window-opengl/gl_context.h @@ -3,6 +3,7 @@ namespace saw { namespace gfx { class gl_settings { +public: uint8_t gl_major = 3; uint8_t gl_minor = 3; @@ -20,7 +21,7 @@ class gl_settings { pbuffer_bit = 0x04 }; - drawable_type drawable_t = drawable_type.:window_bit; + drawable_type drawable_t = drawable_type::window_bit; bool double_buffer = true; int red_bits = 8; |