From 9b5ca88b97c3a00153946920ae52870c452fb4a1 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 11 Aug 2023 03:03:09 +0200 Subject: c++,window-opengl: Fixing comp issues --- c++/window-opengl/gl_context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c++/window-opengl/gl_context.h') 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; -- cgit v1.2.3