summaryrefslogtreecommitdiff
path: root/clients/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/window.c')
-rw-r--r--clients/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/window.c b/clients/window.c
index a56bcfa..2b88e09 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -246,8 +246,8 @@ display_create_surface(struct display *display,
EGLint image_attribs[] = {
EGL_WIDTH, 0,
EGL_HEIGHT, 0,
- EGL_IMAGE_FORMAT_MESA, EGL_IMAGE_FORMAT_ARGB8888_MESA,
- EGL_IMAGE_USE_MESA, EGL_IMAGE_USE_SCANOUT_MESA,
+ EGL_DRM_BUFFER_FORMAT_MESA, EGL_DRM_BUFFER_FORMAT_ARGB32_MESA,
+ EGL_DRM_BUFFER_USE_MESA, EGL_DRM_BUFFER_USE_SCANOUT_MESA,
EGL_NONE
};