Hi, asylum29
wglSwapLayerBuffers this Win32 API, not OpenGL API.
You should check OpenGL Errors before calling wglSwapLayerBuffers, to check win32 error use GetLastError.
OpenGL Debug Output: API - Error, Using glGetString in a Core context with parameter <name> and enum '0x1f03' which was removed from Core OpenGL (GL_INVALID_ENUM)
For core OpenGL profile use glGetIntegerv(GL_NUM_EXTENSIONS, ..)/glGetStringi(GL_EXTENSIONS😞
GLint n, i;
glGetIntegerv(GL_NUM_EXTENSIONS, &n);
for (i = 0; i < n; i++) {
printf("%s\n", glGetStringi(GL_EXTENSIONS, i);
}
OpenGL Discussion and Help Forums