From 673d256f4502547e4f30249f2a50a2b28f7220ac Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 24 Apr 2013 16:24:55 +0200 Subject: [PATCH] glew1.8 debug build fix --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 9ee11a9f85..60b3f38079 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -68,6 +68,10 @@ #include #endif +// glew1.8 doesn't define KHR_debug +#ifndef GL_DEBUG_OUTPUT +#define GL_DEBUG_OUTPUT 0x92E0 +#endif void VideoConfig::UpdateProjectionHack()