Commits

Alex Szpakowski committed 8ae3ebe

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

Comments (0)

Files changed (10)

src/modules/graphics/opengl/Graphics.h

 #include <cmath>
 
 // OpenGL
-#include "GLee.h"
+#include "OpenGL.h"
 
 // LOVE
 #include "graphics/Graphics.h"
 
 #include "window/Window.h"
 
-#include "OpenGL.h"
 #include "Font.h"
 #include "Image.h"
 #include "Quad.h"

src/modules/graphics/opengl/Image.h

 #include "image/ImageData.h"
 #include "graphics/Image.h"
 
+// OpenGL
 #include "OpenGL.h"
 
-// OpenGL
-#include "GLee.h"
-
 namespace love
 {
 namespace graphics

src/modules/graphics/opengl/OpenGL.h

  * 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"
 

src/modules/graphics/opengl/ParticleSystem.cpp

 
 #include "common/math.h"
 
-#include "GLee.h"
+#include "OpenGL.h"
 #include <cmath>
 #include <cstdlib>
 

src/modules/graphics/opengl/Quad.cpp

 #include "Quad.h"
 #include "common/Matrix.h"
 
-// GLee
-#include "GLee.h"
+// OpenGL
+#include "OpenGL.h"
 
 // STD
 #include <cstring> // For memcpy

src/modules/graphics/opengl/ShaderEffect.cpp

 		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;
 	}

src/modules/graphics/opengl/SpriteBatch.cpp

 // STD
 #include <iostream>
 
+// OpenGL
+#include "OpenGL.h"
+
 // LOVE
 #include "Image.h"
 #include "Quad.h"

src/modules/graphics/opengl/SpriteBatch.h

 #include "graphics/Volatile.h"
 #include "graphics/Color.h"
 
-// OpenGL
-#include "GLee.h"
-
 namespace love
 {
 namespace graphics

src/modules/graphics/opengl/VertexBuffer.h

 #include "graphics/Volatile.h"
 
 // OpenGL
-#include "GLee.h"
+#include "OpenGL.h"
 
 namespace love
 {

src/modules/graphics/opengl/wrap_Graphics.cpp

  **/
 
 #include "wrap_Graphics.h"
-#include "GLee.h"
+#include "OpenGL.h"
 #include "graphics/DrawQable.h"
 #include "image/ImageData.h"
 #include "font/Rasterizer.h"