summaryrefslogtreecommitdiff
path: root/EGL/yagl_onscreen_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'EGL/yagl_onscreen_image.h')
-rw-r--r--EGL/yagl_onscreen_image.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/EGL/yagl_onscreen_image.h b/EGL/yagl_onscreen_image.h
index bcee944..8b597fa 100644
--- a/EGL/yagl_onscreen_image.h
+++ b/EGL/yagl_onscreen_image.h
@@ -4,8 +4,9 @@
#include "yagl_export.h"
#include "yagl_types.h"
#include "yagl_image.h"
-#include "yagl_dri2.h"
-#include "yagl_onscreen_display.h"
+
+struct yagl_onscreen_buffer;
+struct yagl_native_drawable;
struct yagl_onscreen_image
{
@@ -17,7 +18,7 @@ struct yagl_onscreen_image
struct yagl_onscreen_image
*yagl_onscreen_image_create(struct yagl_display *dpy,
yagl_host_handle host_context,
- Pixmap x_pixmap,
+ struct yagl_native_drawable *native_pixmap,
const EGLint* attrib_list);
#endif