Fixing compile error. GYP projects use NOMINMAX to suppress non-standard VC++ min/max.
Review URL: http://codereview.appspot.com/892046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@137 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputHLSL.cpp b/src/compiler/OutputHLSL.cpp
index 27a1db6..0d3af2c 100644
--- a/src/compiler/OutputHLSL.cpp
+++ b/src/compiler/OutputHLSL.cpp
@@ -1624,7 +1624,7 @@
while (iterations > 0)
{
int remainder = (limit - initial + 1) % increment;
- int clampedLimit = initial + increment * min(255, iterations) - 1 - remainder;
+ int clampedLimit = initial + increment * std::min(255, iterations) - 1 - remainder;
// for(int index = initial; index < clampedLimit; index += increment)