mesa: fix conditional in save_Lightfv(), bug 18838

(cherry picked from commit 1e2f574251)
This commit is contained in:
Brian
2008-12-01 18:32:47 -07:00
committed by Brian Paul
parent aeb3caeba5
commit 525145a9f6
+1 -1
View File
@@ -2002,7 +2002,7 @@ save_Lightfv(GLenum light, GLenum pname, const GLfloat *params)
Node *n;
ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
n = ALLOC_INSTRUCTION(ctx, OPCODE_LIGHT, 6);
if (OPCODE_LIGHT) {
if (n) {
GLint i, nParams;
n[1].e = light;
n[2].e = pname;