@@ -171,19 +171,25 @@ static PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = NULL;
171
171
#define WGL_DEPTH_BITS_ARB 0x2022
172
172
#define WGL_STENCIL_BITS_ARB 0x2023
173
173
#define WGL_TYPE_RGBA_ARB 0x202b
174
+
175
+ // Context acceleration types
174
176
#define WGL_NO_ACCELERATION_ARB 0x2025 // OpenGL 1.1 GDI software rasterizer
175
177
#define WGL_GENERIC_ACCELERATION_ARB 0x2026
176
178
#define WGL_FULL_ACCELERATION_ARB 0x2027 // OpenGL hardware-accelerated, using GPU-drivers provided by vendor
177
179
180
+ // WGL_ARB_multisample extension supported
181
+ #define WGL_SAMPLE_BUFFERS_ARB 0x2041 // Multisampling: 1 if multisample buffers are supported
182
+ #define WGL_SAMPLES_ARB 0x2042 // Multisampling: Number of samples per pixel (4, 8, 16)
183
+
184
+ // WGL_ARB_framebuffer_sRGB extension supported
185
+ #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20a9 // GL_TRUE if the framebuffer can do sRGB conversion
186
+
178
187
#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
179
188
#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
180
189
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
181
190
#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
182
191
#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
183
192
#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
184
- #define WGL_SAMPLE_BUFFERS_ARB 0x2041
185
- #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20a9
186
- #define WGL_TRANSPARENT_ARB 0x200A
187
193
188
194
//----------------------------------------------------------------------------------
189
195
// Types and Structures Definition
0 commit comments