Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc

This commit is contained in:
Dominic Fandrey
2011-06-02 14:56:50 +02:00
parent 260ee642f6
commit 532ec73933
110 changed files with 280 additions and 246 deletions

View File

@@ -538,7 +538,7 @@ WebGLContext::InitAndValidateGL()
error = gl->fGetError();
switch (error) {
case LOCAL_GL_NO_ERROR:
mGLMaxVaryingVectors = PR_MIN(maxVertexOutputComponents, minFragmentInputComponents) / 4;
mGLMaxVaryingVectors = NS_MIN(maxVertexOutputComponents, minFragmentInputComponents) / 4;
break;
case LOCAL_GL_INVALID_ENUM:
mGLMaxVaryingVectors = 16; // = 64/4, 64 is the min value for maxVertexOutputComponents in OpenGL 3.2 spec