Drop the unused qt_gl_convertToGLFormat function

Change-Id: Ie621f562401b703077a2b304ad6d8445efc76642
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
Giuseppe D'Angelo 2013-01-24 10:47:42 +01:00 committed by The Qt Project
parent 962edab745
commit 507382c778

View File

@ -2041,11 +2041,6 @@ static inline QRgb qt_gl_convertToGLFormatHelper(QRgb src_pixel, GLenum texture_
}
}
QRgb qt_gl_convertToGLFormat(QRgb src_pixel, GLenum texture_format)
{
return qt_gl_convertToGLFormatHelper(src_pixel, texture_format);
}
static void convertToGLFormatHelper(QImage &dst, const QImage &img, GLenum texture_format)
{
Q_ASSERT(dst.depth() == 32);