From: Brian Paul <bri...@vmware.com>

---
 src/mesa/drivers/dri/i915/i830_vtbl.c |    2 ++
 src/mesa/drivers/dri/i915/i915_vtbl.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c 
b/src/mesa/drivers/dri/i915/i830_vtbl.c
index 7810f56..d8f9634 100644
--- a/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -717,6 +717,8 @@ i830_update_draw_buffer(struct intel_context *intel)
    struct intel_renderbuffer *irbDepth = NULL, *irbStencil = NULL;
    bool fb_has_hiz = intel_framebuffer_has_hiz(fb);
 
+   (void) fb_has_hiz;
+
    if (!fb) {
       /* this can happen during the initial context initialization */
       return;
diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c 
b/src/mesa/drivers/dri/i915/i915_vtbl.c
index 1e84c6d..f4d8dff 100644
--- a/src/mesa/drivers/dri/i915/i915_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i915_vtbl.c
@@ -717,6 +717,8 @@ i915_update_draw_buffer(struct intel_context *intel)
    struct intel_renderbuffer *irbDepth = NULL, *irbStencil = NULL;
    bool fb_has_hiz = intel_framebuffer_has_hiz(fb);
 
+   (void) fb_has_hiz;
+
    if (!fb) {
       /* this can happen during the initial context initialization */
       return;
-- 
1.7.3.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to