projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b676df9
)
nouveau: there may not have been a texture if the fbo was incomplete
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 17 Mar 2014 14:37:12 +0000
(10:37 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 19 Mar 2014 22:20:29 +0000
(18:20 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: "10.0 10.1" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nouveau_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
index ae50fe03677f3efb4869a6bed4fcba386cb521b4..6c479f5f0c637c1ea0700479eaa8380b130624d1 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nouveau_fbo.c
+++ b/
src/mesa/drivers/dri/nouveau/nouveau_fbo.c
@@
-265,7
+265,8
@@
static void
nouveau_finish_render_texture(struct gl_context *ctx,
struct gl_renderbuffer *rb)
{
- texture_dirty(rb->TexImage->TexObject);
+ if (rb && rb->TexImage)
+ texture_dirty(rb->TexImage->TexObject);
}
static int