Commits

rude committed cd96e0c

Fix compilation issue in MSVC2012.

Comments (0)

Files changed (1)

src/modules/graphics/opengl/VertexBuffer.cpp

 #include <algorithm>
 #include <limits>
 
+// Conflicts with std::numeric_limits<GLushort>::max() (Windows).
+#ifdef max
+# undef max
+#endif
+
 namespace love
 {
 namespace graphics