summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusintrospection.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-08 01:43:41 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-08 01:43:41 (GMT)
commitea19e075c7eb34a6a7979fa3cfb2dcc838d33c11 (patch)
tree4646ddf73ceb73331a80184c4b91e0d622eefee9 /src/dbus/qdbusintrospection.cpp
parent7b7e776d9042fa34a17db3189af99efb7494d070 (diff)
downloadQt-ea19e075c7eb34a6a7979fa3cfb2dcc838d33c11.zip
Qt-ea19e075c7eb34a6a7979fa3cfb2dcc838d33c11.tar.gz
Qt-ea19e075c7eb34a6a7979fa3cfb2dcc838d33c11.tar.bz2
Texture format must be GL_RGB when pixel type is GL_UNSIGNED_SHORT_5_6_5
QImage::Format_RGB16 textures were broken on some OpenGL/ES 1.1 systems because the "format" was set to GL_RGBA and the "texture_format" was set to GL_RGB, with a pixel type of GL_UNSIGNED_SHORT_5_6_5. OpenGL/ES 1.1, ES 2.0, and desktop GL all require the two format parameters to glTexImage2D() to be GL_RGB if the pixel type is GL_UNSIGNED_SHORT_5_6_5. Reviewed-by: Sarah Smith
Diffstat (limited to 'src/dbus/qdbusintrospection.cpp')
0 files changed, 0 insertions, 0 deletions