Browse Source

Probably fixed the Windows build

Alex Szpakowski 10 years ago
parent
commit
59e1cf23e8
2 changed files with 2 additions and 2 deletions
  1. 1 2
      src/modules/graphics/opengl/Canvas.cpp
  2. 1 0
      src/modules/graphics/opengl/Canvas.h

+ 1 - 2
src/modules/graphics/opengl/Canvas.cpp

@@ -22,10 +22,9 @@
 #include "Image.h"
 #include "Graphics.h"
 #include "common/Matrix.h"
-#include "common/config.h"
 
 #include <cstring> // For memcpy
-#include <limits>
+#include <algorithm> // For min/max
 
 namespace love
 {

+ 1 - 0
src/modules/graphics/opengl/Canvas.h

@@ -21,6 +21,7 @@
 #ifndef LOVE_GRAPHICS_OPENGL_CANVAS_H
 #define LOVE_GRAPHICS_OPENGL_CANVAS_H
 
+#include "common/config.h"
 #include "graphics/Color.h"
 #include "image/Image.h"
 #include "image/ImageData.h"