~phablet-team/qtubuntu/trunk

Viewing all changes in revision 232.

  • Committer: CI bot
  • Author(s): Alexandros Frantzis
  • Date: 2014-06-13 05:37:40 UTC
  • mfrom: (225.3.1 fix-1321189)
  • Revision ID: ps-jenkins@lists.canonical.com-20140613053740-gxintgfous354iq1
Set the surface renderable type to QSurfaceFormat::OpenGLES when using OpenGL ES 2.0

In Qt 5.3 the type of used GL context is checked at runtime to determine supported GL features. Set the surface renderable type properly so that Qt can determine the features correctly. Fixes: 1321189

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: