Merge pull request #6537 from Morph1984/warnings
general: Enforce multiple warnings in MSVC
This commit is contained in:
commit
bf50345d4c
12 changed files with 27 additions and 58 deletions
|
@ -327,7 +327,8 @@ void ApplySwizzle(GLuint handle, PixelFormat format, std::array<SwizzleSource, 4
|
|||
if (format_info.is_compressed) {
|
||||
return false;
|
||||
}
|
||||
if (std::ranges::find(ACCELERATED_FORMATS, internal_format) == ACCELERATED_FORMATS.end()) {
|
||||
if (std::ranges::find(ACCELERATED_FORMATS, static_cast<int>(internal_format)) ==
|
||||
ACCELERATED_FORMATS.end()) {
|
||||
return false;
|
||||
}
|
||||
if (format_info.compatibility_by_size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue