Commit a401a17c authored by Christopher Tenter's avatar Christopher Tenter
Browse files

fix bitcount in sized format string

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 91f2b0a9
......@@ -188,7 +188,7 @@ GLFormatInfo::GLFormatInfo( GLenum _intfmt, GLenum _fmt, GLenum _type, int _r, i
strfmt += "A";
QString bitCount;
bitCount.sprintf("%i", bpp_);
bitCount.sprintf("%i", channelBits_[0]);
strfmt += bitCount;
Supports Markdown
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