*/}}
Explorar el Código

explicitely specify core profile

YimingWu hace 5 meses
padre
commit
ec50738663
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      la_kernel.c

+ 1 - 1
la_kernel.c

@@ -426,7 +426,7 @@ void la_SetupPxlFormat(HDC hdc, int* nRegularFormat, int* nMSFormat) {
 void la_SetupGLEnviornment(laWindow* window, HWND hwnd, int Sync) {
     GLint Attrib[] = { WGL_CONTEXT_MAJOR_VERSION_ARB, MAIN.GLMajor,
                   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,
         0 };
     HGLRC hglrc = 0;