From 507382c778959e02de25edfe31ad04ecdd231c79 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Thu, 24 Jan 2013 10:47:42 +0100 Subject: Drop the unused qt_gl_convertToGLFormat function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie621f562401b703077a2b304ad6d8445efc76642 Reviewed-by: Sean Harmer Reviewed-by: Samuel Rødal --- src/opengl/qgl.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 173f570256..402fdfa33f 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -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); -- cgit v1.2.3