Fix regression from HRESULT checking changes

TRAC #11234 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@3 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 4f39fd99
...@@ -819,7 +819,7 @@ bool Program::applyUniform1iv(GLint location, GLsizei count, const GLint *v) ...@@ -819,7 +819,7 @@ bool Program::applyUniform1iv(GLint location, GLsizei count, const GLint *v)
UINT descriptionCount = 1; UINT descriptionCount = 1;
HRESULT result = mConstantTablePS->GetConstantDesc(constantPS, &constantDescription, &descriptionCount); HRESULT result = mConstantTablePS->GetConstantDesc(constantPS, &constantDescription, &descriptionCount);
if (SUCCEEDED(result)) if (FAILED(result))
{ {
return false; return false;
} }
......
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