projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeb3cae
)
mesa: fix conditional in save_Lightfv(), bug 18838
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 2 Dec 2008 01:32:47 +0000
(18:32 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Jan 2009 16:04:31 +0000
(09:04 -0700)
(cherry picked from commit
1e2f57425153d73646fde7c91c16aa5559491556
)
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index
ffe6dbf
..
44341c5
100644
(file)
--- a/
src/mesa/main/dlist.c
+++ b/
src/mesa/main/dlist.c
@@
-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;