projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f967e8b
)
intel: don't crash when dri2 tells us about buffers we don't care about.
author
Eric Anholt
<eric@anholt.net>
Sun, 8 Feb 2009 14:39:51 +0000
(15:39 +0100)
committer
Eric Anholt
<eric@anholt.net>
Wed, 11 Feb 2009 02:45:17 +0000
(18:45 -0800)
src/mesa/drivers/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index 0d9487b99ad3beff39b63c342be2226d8eff795f..7a93801ee084fb8a1df780b7654ec792439fee52 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_context.c
+++ b/
src/mesa/drivers/dri/intel/intel_context.c
@@
-254,6
+254,9
@@
intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable)
return;
}
+ if (rb == NULL)
+ continue;
+
if (rb->region) {
dri_bo_flink(rb->region->buffer, &name);
if (name == buffers[i].name)