summaryrefslogtreecommitdiff
path: root/compositor.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-06-07 12:23:01 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-06-07 12:23:01 -0400
commit6619d383112809e142e4c66f04bcb8624ee0b7a2 (patch)
treefab4936c497e7dd1b095fe450a0c6ba9e6b44d61 /compositor.c
parenta7f258221a7dcc9dc7034203e20d9a50bfa8c621 (diff)
Use correct token for drm image format
Diffstat (limited to 'compositor.c')
-rw-r--r--compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compositor.c b/compositor.c
index 8a2b956..9ca06b0 100644
--- a/compositor.c
+++ b/compositor.c
@@ -648,7 +648,7 @@ surface_attach(struct wl_client *client,
EGL_WIDTH, 0,
EGL_HEIGHT, 0,
EGL_IMAGE_STRIDE_MESA, 0,
- EGL_IMAGE_FORMAT_MESA, EGL_FORMAT_RGBA_8888_KHR,
+ EGL_IMAGE_FORMAT_MESA, EGL_IMAGE_FORMAT_ARGB8888_MESA,
EGL_NONE
};