mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 03:18:08 +02:00
mesa: silence compiler warning at -O2
This commit is contained in:
parent
bb63a663b1
commit
eb26cc6cf5
1 changed files with 1 additions and 0 deletions
|
|
@ -807,6 +807,7 @@ _mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
|
|||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
GLfloat floatParams[4];
|
||||
ASSIGN_4V(floatParams, 0.0F, 0.0F, 0.0F, 0.0F);
|
||||
_mesa_GetProgramLocalParameterfvARB(target, index, floatParams);
|
||||
if (ctx->ErrorValue == GL_NO_ERROR) {
|
||||
COPY_4V(params, floatParams);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue