Skip to content

Instantly share code, notes, and snippets.

@dvdhrm
Created October 18, 2012 14:41
Show Gist options
  • Select an option

  • Save dvdhrm/3912298 to your computer and use it in GitHub Desktop.

Select an option

Save dvdhrm/3912298 to your computer and use it in GitHub Desktop.
weston toytoolkit cairo fix
commit 3146756adf749c8931f60d7272a590cc41fb8436
Author: Kristian Høgsberg <krh@bitplanet.net>
Date: Tue Oct 16 15:31:31 2012 -0400
clients: Don't ask for EGL_PIXMAP_BIT when choosing configs
diff --git a/clients/window.c b/clients/window.c
index 1d6600c..c029691 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -3750,7 +3750,7 @@ init_egl(struct display *d)
#endif
static const EGLint argb_cfg_attribs[] = {
- EGL_SURFACE_TYPE, EGL_WINDOW_BIT | EGL_PIXMAP_BIT,
+ EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_RED_SIZE, 1,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment