Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2
-
None
-
Maemo Fremantle
-
ae09e6a14dce54190758428a9ea369cd28d36d30
Description
void QGLContext::drawTexture const QPointF & point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D) does not work on Maemo/OpenGL ES 2.0. In API documentation it is said that it does not work on OpenGL ES but no version is specified. QRectF version specifies version 2.0 in documentation so I assume that QPointF works atleast on ES 2.0
Also there is really odd comment in qgl.cpp in the beginning of drawTexture:
// this would be ok on OpenGL ES 2.0, but currently we don't have a define for that
Why is it caged as #ifdef QT_OPENGL_ES and not #if defined (QT_OPENGL_ES) and !defined(QT_OPENGL_ES_2) ?