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>
This commit is contained in:
parent
fd31da45e2
commit
7513aca394
@ -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 gbm"
|
||||||
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
|
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
|
||||||
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gl"
|
|
||||||
],
|
],
|
||||||
[AC_MSG_ERROR([Unable to locate required kms libraries])])
|
[AC_MSG_ERROR([Unable to locate required kms libraries])])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user