Revert "mesa: Correct backwards NULL check."

This reverts commit a598a9bdfe.

The patch was applied without the required dependencies.
This commit is contained in:
Emil Velikov 2015-03-06 18:40:09 +00:00
parent 66a3f104a5
commit 93edf3e7dc

View file

@ -1704,7 +1704,7 @@ _mesa_GetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length,
*
* "If <length> is NULL, then no length is returned."
*/
if (length == NULL)
if (length != NULL)
*length = 0;
(void) binaryFormat;