зеркало из https://github.com/AvaloniaUI/angle.git
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
This commit is contained in:
Родитель
277b7142ed
Коммит
47c058c32e
|
@ -1624,7 +1624,7 @@ bool OutputHLSL::handleExcessiveLoop(TIntermLoop *node)
|
|||
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)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче