mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 04:00:12 +01:00
Revert "mesa: Correct backwards NULL check."
This reverts commit a598a9bdfe.
The patch was applied without the required dependencies.
This commit is contained in:
parent
66a3f104a5
commit
93edf3e7dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue