summaryrefslogtreecommitdiffstats
path: root/progs/es2
diff options
context:
space:
mode:
Diffstat (limited to 'progs/es2')
-rw-r--r--progs/es2/xegl/Makefile4
-rw-r--r--progs/es2/xegl/tri.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/progs/es2/xegl/Makefile b/progs/es2/xegl/Makefile
index 88bb0127f83..5bb167c1c63 100644
--- a/progs/es2/xegl/Makefile
+++ b/progs/es2/xegl/Makefile
@@ -33,8 +33,8 @@ default: $(PROGRAMS)
-es2_info.c:
- cp ../../es1/xegl/es1_info.c es2_info.c
+es2_info.c: ../../es1/xegl/es1_info.c
+ cp -f $^ $@
es2_info: es2_info.o $(ES2_LIB_DEPS)
$(CC) $(CFLAGS) es2_info.o $(ES2_LIBS) -o $@
diff --git a/progs/es2/xegl/tri.c b/progs/es2/xegl/tri.c
index eb52b106200..7729a099578 100644
--- a/progs/es2/xegl/tri.c
+++ b/progs/es2/xegl/tri.c
@@ -242,6 +242,7 @@ make_x_window(Display *x_dpy, EGLDisplay egl_dpy,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_DEPTH_SIZE, 1,
+ EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};
static const EGLint ctx_attribs[] = {