mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: DRW: Avoid compilation warning
This commit is contained in:
parent
0eb48c85c9
commit
27f8df2958
1 changed files with 1 additions and 1 deletions
|
|
@ -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). */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue