commit | 7edf68e08178106a37094e1aed2df1898f3027cd | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Tue Nov 15 14:50:55 2005 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Tue Nov 15 14:50:55 2005 +0000 |
tree | 0b61fd41054b0e4686c62f0cd1e34689110e394e | |
parent | 1e134cf7e402a9c16064b19a0c72ed17cb2fc189 [diff] [blame] |
check for ctx==NULL, bug 4087
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index f2993b1..956527e 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c
@@ -226,7 +226,8 @@ fb->Height = height; /* to update scissor / window bounds */ - ctx->NewState |= _NEW_BUFFERS; + if (ctx) + ctx->NewState |= _NEW_BUFFERS; }