summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-06 11:40:15 -0600
committerBrian Paul <[email protected]>2009-08-07 09:50:38 -0600
commit692c50b38806b81cb576d11b6d79dd0a917e58f9 (patch)
treed88ef4fd29092679066ca79467530bf54742ee51 /src/mesa/drivers/dri/i965/brw_context.h
parent922ef4a119ca9c7a8220843b47b890c277c29fc8 (diff)
i965: minor context comments
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index d9dc3d511c5..00d5980dd08 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -438,9 +438,13 @@ struct brw_query_object {
unsigned int count;
};
+
+/**
+ * brw_context is derived from intel_context.
+ */
struct brw_context
{
- struct intel_context intel;
+ struct intel_context intel; /**< base class, must be first field */
GLuint primitive;
GLboolean emit_state_always;