Commit ed44ada4 authored by Florent Revest's avatar Florent Revest

qtbase: Forces GLES2 usage because of this issue:...

qtbase: Forces GLES2 usage because of this issue: https://bugreports.qt.io/browse/QTBUG-46831 it will be solved on Qt 5.6
parent 0e1c9ec0
From d742716a87b867900b26e4be4508f0045345406c Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Thu, 20 Aug 2015 20:22:21 +0200
Subject: [PATCH] Forces GLES2 the dirty way
---
src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
index 7cc3300..0beda2c 100644
--- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
+++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
@@ -273,6 +273,8 @@ void QEGLPlatformContext::updateFormatFromGL()
QByteArray version = QByteArray(reinterpret_cast<const char *>(s));
int major, minor;
if (QPlatformOpenGLContext::parseOpenGLVersion(version, major, minor)) {
+ major = 2;
+ minor = 0;
m_format.setMajorVersion(major);
m_format.setMinorVersion(minor);
}
--
2.5.0
FILESEXTRAPATHS_prepend := "${THISDIR}/qtbase:"
SRC_URI += " file://0001-Forces-GLES2-the-dirty-way.patch "
# Remove dependencies to mesa
PACKAGECONFIG_remove = "kms"
PACKAGECONFIG_remove = "gl"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment