mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
mesa: include uniforms.h to silence warning, remove unused var
(cherry picked from commit fe1b38960b)
This commit is contained in:
parent
6fe42b603d
commit
b8af8b83cf
1 changed files with 1 additions and 2 deletions
|
|
@ -45,6 +45,7 @@
|
|||
#include "main/mtypes.h"
|
||||
#include "main/shaderapi.h"
|
||||
#include "main/shaderobj.h"
|
||||
#include "main/uniforms.h"
|
||||
#include "program/program.h"
|
||||
#include "program/prog_parameter.h"
|
||||
#include "ralloc.h"
|
||||
|
|
@ -936,8 +937,6 @@ static GLboolean
|
|||
validate_shader_program(const struct gl_shader_program *shProg,
|
||||
char *errMsg)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
if (!shProg->LinkStatus) {
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue