[cogl] Don't directly link to libGL from the EGL/KMS platform



commit 7513aca39459ece0b500d2d80b8632d240a1ce09
Author: Neil Roberts <neil linux intel com>
Date:   Thu Mar 15 16:15:49 2012 +0000

    Don't directly link to libGL from the EGL/KMS platform
    
    The KMS platform accesses all of it's GL symbols via the indirection
    through the Cogl context so there is no need to link against it
    directly. This helps when trying to use Cogl with GLES where pulling
    in Xlib via libGL is potentially a problem.
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 configure.ac |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6cc7b66..705d677 100644
--- a/configure.ac
+++ b/configure.ac
@@ -781,7 +781,6 @@ AS_IF([test "x$enable_kms_egl_platform" == "xyes"],
                          [
                            COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gbm"
                            COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
-                           COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gl"
                          ],
                          [AC_MSG_ERROR([Unable to locate required kms libraries])])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]