Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibel committed Mar 30, 2016
1 parent a5fa245 commit e764f3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions source/gloperate-glfw/source/WindowEventDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ void WindowEventDispatcher::handleCursorPos(GLFWwindow* glfwWindow, double xPos,

void WindowEventDispatcher::handleCursorEnter(GLFWwindow* glfwWindow, int entered)
{
if (entered == static_cast<int>(gl::GL_TRUE))
if (entered == static_cast<int>(GL_TRUE))
{
dispatchEvent(glfwWindow, new MouseEnterEvent);
}
Expand Down Expand Up @@ -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<int>(gl::GL_TRUE)));
dispatchEvent(glfwWindow, new FocusEvent(focused == static_cast<int>(GL_TRUE)));
}

void WindowEventDispatcher::handleIconify(GLFWwindow* glfwWindow, int iconified)
{
dispatchEvent(glfwWindow, new IconifyEvent(iconified == static_cast<int>(gl::GL_TRUE)));
dispatchEvent(glfwWindow, new IconifyEvent(iconified == static_cast<int>(GL_TRUE)));
}

void WindowEventDispatcher::handleClose(GLFWwindow* glfwWindow)
Expand Down
3 changes: 0 additions & 3 deletions source/gloperate-osg/source/OsgFboRenderStage_osg.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

#include <gloperate-osg/OsgFboRenderStage.h>

#undef __gl_h_ // dirtiest hack imaginale
// TODO: find a solution for GL/gl.h and glbinding/gl/gl.h

#include <osgViewer/Viewer>
#include <osgViewer/Renderer>

Expand Down

0 comments on commit e764f3d

Please sign in to comment.