Cleanup: DRW: Avoid compilation warning

This commit is contained in:
Clément Foucault 2026-09-26 14:39:03 +02:00
parent 0eb48c85c9
commit 27f8df2958

View file

@ -80,7 +80,7 @@ using namespace math;
/* NOTE: Legacy, should be removed after we port everything to BSL. */
/** Global that needs to be set correctly in each shader stage. */
static uint drw_view_id = 0;
[[maybe_unused]] static uint drw_view_id = 0;
#if !defined(DRW_VIEW_LEN) && !defined(GLSL_CPP_STUBS)
/* Single-view case (default). */