#ifndef DRI_SCREEN_H
#define DRI_SCREEN_H
-#include "dri_util.h"
+#include "dri_wrapper.h"
#include "xmlconfig.h"
#include "pipe/p_compiler.h"
return (struct dri_screen *)sPriv->private;
}
+#ifndef __NOT_HAVE_DRM_H
+
static INLINE boolean
dri_with_format(__DRIscreen * sPriv)
{
&& (loader->getBuffersWithFormat != NULL);
}
+#else
+
+static INLINE boolean
+dri_with_format(__DRIscreen * sPriv)
+{
+ return TRUE;
+}
+
+#endif
+
extern const uint __driNConfigOptions;
const __DRIconfig **