diff options
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; |