Commit 273c6857 authored by Jan's avatar Jan

Fixed some sprintf warnings

parent 3c1b9ca9
......@@ -188,10 +188,7 @@ GLFormatInfo::GLFormatInfo( GLenum _intfmt, GLenum _fmt, GLenum _type, int _r, i
if (channelCount_ > 3)
strfmt += "A";
QString bitCount;
bitCount.sprintf("%i", channelBits_[0]);
strfmt += bitCount;
strfmt += QString ("%1").arg(channelBits_[0]);
if (isNormalized())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment