From 18a223d3237d67a4d38bbab10dc4ab470180cc92 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 2 Jul 2013 23:15:53 -0700 Subject: [PATCH] i965: Add forward declarations of brw_context to a few places. These files have forward declarations for intel_context. This makes brw_context available in the same places without further #include monkeying. Signed-off-by: Kenneth Graunke Acked-by: Chris Forbes Acked-by: Paul Berry Acked-by: Anuj Phogat --- src/mesa/drivers/dri/i965/intel_buffer_objects.h | 1 + src/mesa/drivers/dri/i965/intel_regions.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.h b/src/mesa/drivers/dri/i965/intel_buffer_objects.h index d91990ca603..3c83c068b76 100644 --- a/src/mesa/drivers/dri/i965/intel_buffer_objects.h +++ b/src/mesa/drivers/dri/i965/intel_buffer_objects.h @@ -30,6 +30,7 @@ #include "main/mtypes.h" +struct brw_context; struct intel_context; struct gl_buffer_object; diff --git a/src/mesa/drivers/dri/i965/intel_regions.h b/src/mesa/drivers/dri/i965/intel_regions.h index c9f5ecc77e9..62a1c9c54ba 100644 --- a/src/mesa/drivers/dri/i965/intel_regions.h +++ b/src/mesa/drivers/dri/i965/intel_regions.h @@ -45,6 +45,7 @@ extern "C" { #endif +struct brw_context; struct intel_context; struct intel_screen; struct intel_buffer_object; -- 2.30.2