projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i915g: don't destroy a texture buffer if it's NULL.
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_clear.c
diff --git
a/src/gallium/drivers/i915/i915_clear.c
b/src/gallium/drivers/i915/i915_clear.c
index d11361b675f8139d4e9273e542314cb4930f74c4..4a97746e981eeb9865faa59ed686def381da6ed8 100644
(file)
--- a/
src/gallium/drivers/i915/i915_clear.c
+++ b/
src/gallium/drivers/i915/i915_clear.c
@@
-144,5
+144,5
@@
i915_clear_render(struct pipe_context *pipe, unsigned buffers, const float *rgba
i915_update_derived(i915);
i915_clear_emit(pipe, buffers, rgba, depth, stencil,
- 0, 0, i915->
current.fb_width, i915->current.fb_
height);
+ 0, 0, i915->
framebuffer.width, i915->framebuffer.
height);
}