aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-06 11:40:06 -0600
committerBrian Paul <[email protected]>2009-08-07 09:50:38 -0600
commit922ef4a119ca9c7a8220843b47b890c277c29fc8 (patch)
treef4f3a3969591960ea0d5ec52acb82800d2279df9 /src/mesa/drivers
parent6e0be1cc343bc8eee5069d7f2f53b12b1a29c216 (diff)
intel: minor context comments
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
index e93eb1f293c..2b138290821 100644
--- a/src/mesa/drivers/dri/intel/intel_context.h
+++ b/src/mesa/drivers/dri/intel/intel_context.h
@@ -80,9 +80,13 @@ extern void intelFallback(struct intel_context *intel, GLuint bit,
#define INTEL_MAX_FIXUP 64
+
+/**
+ * intel_context is derived from Mesa's context class: GLcontext.
+ */
struct intel_context
{
- GLcontext ctx; /* the parent class */
+ GLcontext ctx; /**< base class, must be first field */
struct
{