瀏覽代碼

Fix Windows build

--HG--
branch : minor
Alex Szpakowski 8 年之前
父節點
當前提交
4a3319245b
共有 2 個文件被更改,包括 3 次插入0 次删除
  1. 2 0
      src/modules/graphics/opengl/Text.cpp
  2. 1 0
      src/modules/graphics/opengl/Text.h

+ 2 - 0
src/modules/graphics/opengl/Text.cpp

@@ -22,6 +22,8 @@
 #include "graphics/Graphics.h"
 #include "graphics/Graphics.h"
 #include "OpenGL.h"
 #include "OpenGL.h"
 
 
+#include <algorithm>
+
 namespace love
 namespace love
 {
 {
 namespace graphics
 namespace graphics

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

@@ -21,6 +21,7 @@
 #pragma once
 #pragma once
 
 
 // LOVE
 // LOVE
+#include "common/config.h"
 #include "graphics/Text.h"
 #include "graphics/Text.h"
 
 
 namespace love
 namespace love