Fix missing else that caused all samplers to be skipped. Oooops.

This commit is contained in:
baldurk
2015-01-20 15:05:13 +00:00
parent 6326b3344d
commit a1bc380f06
+1 -1
View File
@@ -850,7 +850,7 @@ void MakeShaderReflection(const GLHookSet &gl, GLenum shadType, GLuint sepProg,
res.variableType.descriptor.type = eVar_UInt;
}
// float images
if(values[0] == eGL_IMAGE_BUFFER)
else if(values[0] == eGL_IMAGE_BUFFER)
{
res.resType = eResType_Buffer;
res.variableType.descriptor.name = "imageBuffer";