Skip to content

gallium/tessellator: Fix warning suppression

James Park requested to merge jpark37/mesa:tessellator-msvc-warning into master

Single-line version of MSVC warning suppression does not reach past #endif directive. Use push/disable/pop instead.

Also suppress 26452, which is a similar analysis warning.

This could also be fixed with constexpr if, but C++17 would be required.

Edited by James Park

Merge request reports