diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 413995494b..e0efcacbf1 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -68,6 +68,17 @@ along with this program. If not, see . #include #include +// HACK: workaround for libepoxy < 1.3 +#ifndef GL_GUILTY_CONTEXT_RESET +#define GL_GUILTY_CONTEXT_RESET 0x8253 +#endif +#ifndef GL_INNOCENT_CONTEXT_RESET +#define GL_INNOCENT_CONTEXT_RESET 0x8254 +#endif +#ifndef GL_UNKNOWN_CONTEXT_RESET +#define GL_UNKNOWN_CONTEXT_RESET 0x8255 +#endif + namespace KWin {