@@ -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"
@@ -28,10 +28,8 @@
#include "image/ImageData.h"
#include "graphics/Image.h"
-
namespace love
{
@@ -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 <cstdlib>
@@ -21,8 +21,8 @@
#include "common/Matrix.h"
-// GLee
+// OpenGL
// 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.");
}
@@ -23,6 +23,9 @@
#include <iostream>
+
@@ -34,9 +34,6 @@
#include "graphics/Volatile.h"
#include "graphics/Color.h"
-// OpenGL
namespace graphics
@@ -19,7 +19,7 @@
#include "wrap_Graphics.h"
#include "graphics/DrawQable.h"
#include "font/Rasterizer.h"