1. rude
  2. love

Commits

rude  committed cd96e0c

Fix compilation issue in MSVC2012.

  • Participants
  • Parent commits 2902c71
  • Branches default

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/VertexBuffer.cpp

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