ref_gl: do not trust REFAPI context version, get it from OpenGL anyway

This commit is contained in:
mittorn
2023-10-16 06:47:55 +03:00
committed by Alibek Omarov
parent c0b068d81b
commit 150cbfa4de
2 changed files with 22 additions and 4 deletions
+2
View File
@@ -823,6 +823,8 @@ typedef float GLmatrix[16];
#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
#define GL_MAJOR_VERSION 0x821B
#define GL_MINOR_VERSION 0x821C
#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092