[Webkit-unassigned] [Bug 38528] [Qt] WebGL viewport does not show up on N900

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 5 00:33:41 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38528





--- Comment #4 from Jarkko Sakkinen <jarkko.j.sakkinen at gmail.com>  2010-05-05 00:33:41 PST ---
QGLContext::drawTexture functions do not work in Maemo version. Tweaked qgl.cpp
a little bit:

diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index 644a737..da61e61 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -2706,7 +2706,7 @@ void QGLContext::drawTexture(const QRectF &target,
QMacCompatGLuint textureId, Q
 void QGLContext::drawTexture(const QPointF &point, GLuint textureId, GLenum
textureTarget)
 {
     // this would be ok on OpenGL ES 2.0, but currently we don't have a define
for that
-#ifdef QT_OPENGL_ES
+#if !defined(QT_OPENGL_ES_2) && defined(QT_OPENGL_ES)
     Q_UNUSED(point);
     Q_UNUSED(textureId);
     Q_UNUSED(textureTarget);


Let's how that helps.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list