Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
273c6857
Commit
273c6857
authored
May 08, 2020
by
Jan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some sprintf warnings
parent
3c1b9ca9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
libs_required/ACG/GL/GLFormatInfo.cc
libs_required/ACG/GL/GLFormatInfo.cc
+1
-4
No files found.
libs_required/ACG/GL/GLFormatInfo.cc
View file @
273c6857
...
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment