|
@@ -426,7 +426,7 @@ void la_SetupPxlFormat(HDC hdc, int* nRegularFormat, int* nMSFormat) {
|
|
void la_SetupGLEnviornment(laWindow* window, HWND hwnd, int Sync) {
|
|
void la_SetupGLEnviornment(laWindow* window, HWND hwnd, int Sync) {
|
|
GLint Attrib[] = { WGL_CONTEXT_MAJOR_VERSION_ARB, MAIN.GLMajor,
|
|
GLint Attrib[] = { WGL_CONTEXT_MAJOR_VERSION_ARB, MAIN.GLMajor,
|
|
WGL_CONTEXT_MINOR_VERSION_ARB, MAIN.GLMinor,
|
|
WGL_CONTEXT_MINOR_VERSION_ARB, MAIN.GLMinor,
|
|
- WGL_CONTEXT_PROFILE_MASK_ARB,WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,
|
|
|
|
|
|
+ WGL_CONTEXT_PROFILE_MASK_ARB,WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
|
|
//WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB, GL_TRUE,
|
|
//WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB, GL_TRUE,
|
|
0 };
|
|
0 };
|
|
HGLRC hglrc = 0;
|
|
HGLRC hglrc = 0;
|