mesa: added NumSamples, MaxSamples for ARB_fbo
authorBrian Paul <brianp@vmware.com>
Tue, 20 Jan 2009 22:17:57 +0000 (15:17 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 22 Jan 2009 22:18:06 +0000 (15:18 -0700)
src/mesa/main/mtypes.h

index 0cd88e7..f1da638 100644 (file)
@@ -2270,6 +2270,7 @@ struct gl_renderbuffer
    GLubyte IndexBits;
    GLubyte DepthBits;
    GLubyte StencilBits;
+   GLubyte NumSamples;
 
    GLenum DataType;      /**< Type of values passed to the Get/Put functions */
    GLvoid *Data;        /**< This may not be used by some kinds of RBs */
@@ -2514,6 +2515,8 @@ struct gl_constants
    /* GL_ARB_vertex_shader */
    GLuint MaxVertexTextureImageUnits;
    GLuint MaxVarying;  /**< Number of float[4] vectors */
+   /* GL_ARB_framebuffer_object */
+   GLuint MaxSamples;
 };