changeset 4500:102c3d608dd6

mesa: enable egl when building opengl.
author John W. Eaton <jwe@octave.org>
date Tue, 10 Oct 2017 14:44:52 -0400
parents c10c61a3222c
children b74853c2afa1
files src/mesa.mk
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/mesa.mk	Tue Oct 10 14:44:05 2017 -0400
+++ b/src/mesa.mk	Tue Oct 10 14:44:52 2017 -0400
@@ -15,13 +15,14 @@
 else
   ifeq ($(USE_SYSTEM_OPENGL),yes)
     $(PKG)_CONFIGURE_OPENGL_OPTIONS := \
-      --disable-opengl --disable-gles1 --disable-gles2 \
+      --disable-opengl --disable-egl --disable-gles1 --disable-gles2 \
       --disable-dri --disable-glx \
       --with-gallium-drivers="" --with-dri-drivers="" \
       --with-platforms=""
   else
     $(PKG)_CONFIGURE_OPENGL_OPTIONS := \
-      --enable-opengl --enable-dri --enable-glx="dri" \
+      --enable-opengl --enable-egl --enable-gles1 --enable-gles2 \
+      --enable-dri --enable-glx="dri" \
       --with-gallium-drivers="" --with-dri-drivers="swrast" \
       --with-platforms="x11"
     ifeq ($(USE_SYSTEM_X11_LIBS),no)
@@ -65,7 +66,6 @@
         $($(PKG)_CONFIGURE_OPENGL_OPTIONS) \
         --enable-osmesa \
         --disable-gbm \
-        --disable-egl \
         --disable-xvmc \
         --disable-llvm \
         --enable-texture-float \