Fixed glGetShaderPrecisionFormat output

TRAC #12041 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@188 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 69f084b1
......@@ -2607,8 +2607,7 @@ void __stdcall glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontyp
// Assume IEEE 754 precision
range[0] = 127;
range[1] = 127;
precision[0] = 23;
precision[1] = 23;
*precision = 23;
break;
case GL_LOW_INT:
case GL_MEDIUM_INT:
......@@ -2617,8 +2616,7 @@ void __stdcall glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontyp
// which can accurately represent integers up to +/-16777216
range[0] = 24;
range[1] = 24;
precision[0] = 0;
precision[1] = 0;
*precision = 0;
break;
default:
return error(GL_INVALID_ENUM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment