glapi: Correctly generate static disatches for X86.
[mesa.git] / src / mesa / main / queryobj.c
index 387a82fc9dff1f9a6d78bb24cf8ec90b08e3103f..e14511a3883c12a9e9bab5856b9d055eab4313eb 100644 (file)
@@ -29,7 +29,7 @@
 #include "imports.h"
 #include "queryobj.h"
 #include "mtypes.h"
-#include "glapi/dispatch.h"
+#include "main/dispatch.h"
 
 
 #if FEATURE_queryobj
@@ -114,7 +114,7 @@ _mesa_check_query(GLcontext *ctx, struct gl_query_object *q)
 static void
 _mesa_delete_query(GLcontext *ctx, struct gl_query_object *q)
 {
-   _mesa_free(q);
+   free(q);
 }