diff --git a/source/gloperate-glfw/source/WindowEventDispatcher.cpp b/source/gloperate-glfw/source/WindowEventDispatcher.cpp index e46c006e..6a8721a4 100644 --- a/source/gloperate-glfw/source/WindowEventDispatcher.cpp +++ b/source/gloperate-glfw/source/WindowEventDispatcher.cpp @@ -222,7 +222,7 @@ void WindowEventDispatcher::handleCursorPos(GLFWwindow* glfwWindow, double xPos, void WindowEventDispatcher::handleCursorEnter(GLFWwindow* glfwWindow, int entered) { - if (entered == static_cast(gl::GL_TRUE)) + if (entered == static_cast(GL_TRUE)) { dispatchEvent(glfwWindow, new MouseEnterEvent); } @@ -254,12 +254,12 @@ void WindowEventDispatcher::handleMove(GLFWwindow* glfwWindow, int x, int y) void WindowEventDispatcher::handleFocus(GLFWwindow* glfwWindow, int focused) { - dispatchEvent(glfwWindow, new FocusEvent(focused == static_cast(gl::GL_TRUE))); + dispatchEvent(glfwWindow, new FocusEvent(focused == static_cast(GL_TRUE))); } void WindowEventDispatcher::handleIconify(GLFWwindow* glfwWindow, int iconified) { - dispatchEvent(glfwWindow, new IconifyEvent(iconified == static_cast(gl::GL_TRUE))); + dispatchEvent(glfwWindow, new IconifyEvent(iconified == static_cast(GL_TRUE))); } void WindowEventDispatcher::handleClose(GLFWwindow* glfwWindow) diff --git a/source/gloperate-osg/source/OsgFboRenderStage_osg.cpp b/source/gloperate-osg/source/OsgFboRenderStage_osg.cpp index c59f86de..728fd12f 100644 --- a/source/gloperate-osg/source/OsgFboRenderStage_osg.cpp +++ b/source/gloperate-osg/source/OsgFboRenderStage_osg.cpp @@ -1,9 +1,6 @@ #include -#undef __gl_h_ // dirtiest hack imaginale -// TODO: find a solution for GL/gl.h and glbinding/gl/gl.h - #include #include