mesa: Allow setting GL_TEXTURE_MAX_LEVEL to 0 with GL_TEXTURE_RECTANGLE.
[mesa.git] / src / mesa / main / syncobj.h
index 6b43674662a8ef11efedf4228cd4e7435af2f8fd..5d510e873a9224b8ad434ed6fd46e137041b6d70 100644 (file)
@@ -32,7 +32,6 @@
 #define SYNCOBJ_H
 
 #include "glheader.h"
-#include "mfeatures.h"
 
 struct _glapi_table;
 struct dd_function_table;
@@ -54,6 +53,10 @@ _mesa_ref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj);
 extern void
 _mesa_unref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj);
 
+extern bool
+_mesa_validate_sync(struct gl_context *ctx,
+                    const struct gl_sync_object *syncObj);
+
 extern GLboolean GLAPIENTRY
 _mesa_IsSync(GLsync sync);