mesa: Include mtypes.h in files that use gl_context struct.
[mesa.git] / src / mesa / main / multisample.c
index 01b68df7afc64b14e32debaf2b0713e6309604b8..67fdb8c9db9288cffc41aa890e28d274a573060c 100644 (file)
@@ -27,6 +27,7 @@
 #include "main/context.h"
 #include "main/macros.h"
 #include "main/multisample.h"
+#include "main/mtypes.h"
 
 
 /**
@@ -50,7 +51,7 @@ _mesa_SampleCoverageARB(GLclampf value, GLboolean invert)
  * \param ctx  the GL context.
  */
 void
-_mesa_init_multisample(GLcontext *ctx)
+_mesa_init_multisample(struct gl_context *ctx)
 {
    ctx->Multisample.Enabled = GL_TRUE;
    ctx->Multisample.SampleAlphaToCoverage = GL_FALSE;