diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-01-23 13:12:11 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-01-23 13:12:11 +0100 |
commit | 8dad985328e2183b224300aa992951131956fdb3 (patch) | |
tree | ceda3d9805335f36f571fb36585444ebdb421a02 /modules/window-opengl/gl_context.h | |
parent | a9d2025030d0a7641f4b0701bd4aff7d2db5aeb4 (diff) |
core,codec-json,codec-minecraft,codec-netcdf,codec,io-tls,io,io_codec,window,window-opengl:
Renamed file endings and changed includes
Diffstat (limited to 'modules/window-opengl/gl_context.h')
-rw-r--r-- | modules/window-opengl/gl_context.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/modules/window-opengl/gl_context.h b/modules/window-opengl/gl_context.h deleted file mode 100644 index 685e527..0000000 --- a/modules/window-opengl/gl_context.h +++ /dev/null @@ -1,43 +0,0 @@ -#pragma once - -namespace saw { -namespace gfx { -class gl_settings { -public: - uint8_t gl_major = 3; - uint8_t gl_minor = 3; - - enum class render_type : int32_t { rgba }; - - render_type render_t = render_type::rgba; - - bool renderable = true; - - bool window_type = true; - - enum class drawable_type : int32_t { - window_bit = 0x01, - pixmap_bit = 0x02, - pbuffer_bit = 0x04 - }; - - drawable_type drawable_t = drawable_type::window_bit; - - bool double_buffer = true; - int red_bits = 8; - int green_bits = 8; - int blue_bits = 8; - int alpha_bits = 8; - - int depth_bits = 24; - int stencil_bits = 8; - - bool core_profile = true; -}; - -template<typename T> -class gpu_context; - - -} -} |