opengl graphics module files now always include OpenGL.h rather than GLee.h

This commit is contained in:
Alexander Szpakowski
2013-01-01 17:54:14 -04:00
parent 9143442448
commit 6560019829
10 changed files with 12 additions and 16 deletions
+1 -2
View File
@@ -26,7 +26,7 @@
#include <cmath>
// OpenGL
#include "GLee.h"
#include "OpenGL.h"
// LOVE
#include "graphics/Graphics.h"
@@ -37,7 +37,6 @@
#include "window/Window.h"
#include "OpenGL.h"
#include "Font.h"
#include "Image.h"
#include "Quad.h"
+1 -3
View File
@@ -28,10 +28,8 @@
#include "image/ImageData.h"
#include "graphics/Image.h"
#include "OpenGL.h"
// OpenGL
#include "GLee.h"
#include "OpenGL.h"
namespace love
{
+2 -2
View File
@@ -18,8 +18,8 @@
* 3. This notice may not be removed or altered from any source distribution.
**/
#ifndef LOVE_COMMON_OPENGL_H
#define LOVE_COMMON_OPENGL_H
#ifndef LOVE_GRAPHICS_OPENGL_OPENGL_H
#define LOVE_GRAPHICS_OPENGL_OPENGL_H
#include "GLee.h"
@@ -22,7 +22,7 @@
#include "common/math.h"
#include "GLee.h"
#include "OpenGL.h"
#include <cmath>
#include <cstdlib>
+2 -2
View File
@@ -21,8 +21,8 @@
#include "Quad.h"
#include "common/Matrix.h"
// GLee
#include "GLee.h"
// OpenGL
#include "OpenGL.h"
// STD
#include <cstring> // For memcpy
@@ -114,7 +114,6 @@ GLuint ShaderEffect::createShader(const ShaderSource &source)
shadertypename = "fragment";
break;
default:
// tesselation control and evaluation shaders aren't recognized by current version of GLee
throw love::Exception("Cannot create shader object: unknown shader type.");
break;
}
@@ -23,6 +23,9 @@
// STD
#include <iostream>
// OpenGL
#include "OpenGL.h"
// LOVE
#include "Image.h"
#include "Quad.h"
@@ -34,9 +34,6 @@
#include "graphics/Volatile.h"
#include "graphics/Color.h"
// OpenGL
#include "GLee.h"
namespace love
{
namespace graphics
+1 -1
View File
@@ -26,7 +26,7 @@
#include "graphics/Volatile.h"
// OpenGL
#include "GLee.h"
#include "OpenGL.h"
namespace love
{
@@ -19,7 +19,7 @@
**/
#include "wrap_Graphics.h"
#include "GLee.h"
#include "OpenGL.h"
#include "graphics/DrawQable.h"
#include "image/ImageData.h"
#include "font/Rasterizer.h"