i965: minor context comments
authorBrian Paul <brianp@vmware.com>
Thu, 6 Aug 2009 17:40:15 +0000 (11:40 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 15:50:38 +0000 (09:50 -0600)
src/mesa/drivers/dri/i965/brw_context.h

index d9dc3d5..00d5980 100644 (file)
@@ -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;