Commit d1a349fb authored by Jan Möbius's avatar Jan Möbius
Browse files

Move glew handling into a separate header file


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19248 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 744151eb
......@@ -51,7 +51,7 @@
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <ACG/GL/AntiAliasing.hh>
#include <ACG/Math/VectorT.hh>
#include <ACG/ShaderUtils/GLSLShader.hh>
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "DrawMesh.hh"
namespace ACG {
......
......@@ -6,7 +6,7 @@
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "FBO.hh"
#include "GLState.hh"
#include "GLError.hh"
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <iostream>
#include <cstdio>
......
......@@ -49,7 +49,7 @@
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "GLState.hh"
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <cstdio>
#include <cstring>
#include <iostream>
......
......@@ -51,7 +51,7 @@
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "ScreenQuad.hh"
#include <ACG/ShaderUtils/GLSLShader.hh>
#include <ACG/GL/GLError.hh>
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <ACG/GL/gl.hh>
#include <ACG/GL/GLState.hh>
#include <ACG/ShaderUtils/GLSLShader.hh>
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*---------------------------------------------------------------------------*
* This file is part of OpenFlipper. *
* *
* OpenFlipper is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of *
* the License, or (at your option) any later version with the *
* following exceptions: *
* *
* If other files instantiate templates or use macros *
* or inline functions from this file, or you compile this file and *
* link it with other files to produce an executable, this file does *
* not by itself cause the resulting executable to be covered by the *
* GNU Lesser General Public License. This exception does not however *
* invalidate any other reasons why the executable file might be *
* covered by the GNU Lesser General Public License. *
* *
* OpenFlipper is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU LesserGeneral Public *
* License along with OpenFlipper. If not, *
* see <http://www.gnu.org/licenses/>. *
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 18898 $ *
* $Author: ebke $ *
* $Date: 2014-06-26 13:00:55 +0200 (Do, 26 Jun 2014) $ *
* *
\*===========================================================================*/
//=============================================================================
// overload some GL functions
//=============================================================================
#ifndef ACG_GLEW_HH
#define ACG_GLEW_HH
//== INCLUDES =================================================================
#include <cstdlib>
#include <sstream>
#if defined(ARCH_DARWIN)
#elif defined(WIN32)
#include <gl/glew.h>
#else // Unix
#include <GL/glew.h>
#endif
//=============================================================================
#endif // ACG_GLEW_HH defined
//=============================================================================
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "globjects.hh"
......
......@@ -51,7 +51,7 @@
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "QtBaseViewer.hh"
#include "QtGLGraphicsScene.hh"
......
......@@ -50,7 +50,7 @@
//=============================================================================
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "LineNode.hh"
#include <ACG/GL/gl.hh>
#include <ACG/GL/IRenderer.hh>
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "MeshNode2T.hh"
#include <stdexcept>
......
......@@ -53,7 +53,7 @@
//== INCLUDES =================================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "TextNode.hh"
#include "../GL/gl.hh"
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <QApplication>
#include <QDir>
......
......@@ -42,7 +42,7 @@
#include <iostream>
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <ACG/GL/GLError.hh>
#include "UniformPool.hh"
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "PlaneNode.hh"
#include <ACG/GL/gl.hh>
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "QtWidgetNode.hh"
#include <ACG/GL/gl.hh>
#include <iostream>
......
......@@ -49,7 +49,7 @@
//== INCLUDES ====================================================
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include "SplatCloudNode.hh"
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <GL/glew.h>
#include <ACG/GL/acg_glew.hh>
#include <ACG/GL/GLError.hh>
#include "QtBaseViewer.hh"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment