mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 10:26:45 +02:00
- code cleanup based on verbose output from the latest git version of cppcheck
This commit is contained in:
@@ -328,7 +328,7 @@ GLint toCompressionFormatGl(GLint format) {
|
||||
}
|
||||
|
||||
static std::vector<int> supportedCompressionFormats = getSupportCompressedTextureFormats();
|
||||
if(supportedCompressionFormats.size() <= 0) {
|
||||
if(supportedCompressionFormats.empty() == true) {
|
||||
return format;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user