projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use shorter name for shader config
[blender.git]
/
source
/
blender
/
draw
/
modes
/
overlay_mode.c
diff --git
a/source/blender/draw/modes/overlay_mode.c
b/source/blender/draw/modes/overlay_mode.c
index b026bb5ffd2e85fcf4a4cb2db1f57552712d8de9..a1befa679f009a0154adac11c4ddbd602c41cc27 100644
(file)
--- a/
source/blender/draw/modes/overlay_mode.c
+++ b/
source/blender/draw/modes/overlay_mode.c
@@
-91,7
+91,7
@@
static void overlay_engine_init(void *vedata)
OVERLAY_StorageList *stl = data->stl;
const DRWContextState *draw_ctx = DRW_context_state_get();
OVERLAY_StorageList *stl = data->stl;
const DRWContextState *draw_ctx = DRW_context_state_get();
- OVERLAY_Shaders *sh_data = &e_data.sh_data[draw_ctx->sh
ader
_cfg];
+ OVERLAY_Shaders *sh_data = &e_data.sh_data[draw_ctx->sh_cfg];
const bool is_clip = (draw_ctx->rv3d->rflag & RV3D_CLIPPING) != 0;
if (is_clip) {
const bool is_clip = (draw_ctx->rv3d->rflag & RV3D_CLIPPING) != 0;
if (is_clip) {
@@
-146,7
+146,7
@@
static void overlay_cache_init(void *vedata)
const DRWContextState *draw_ctx = DRW_context_state_get();
RegionView3D *rv3d = draw_ctx->rv3d;
const DRWContextState *draw_ctx = DRW_context_state_get();
RegionView3D *rv3d = draw_ctx->rv3d;
- OVERLAY_Shaders *sh_data = &e_data.sh_data[draw_ctx->sh
ader
_cfg];
+ OVERLAY_Shaders *sh_data = &e_data.sh_data[draw_ctx->sh_cfg];
const DRWContextState *DCS = DRW_context_state_get();
const DRWContextState *DCS = DRW_context_state_get();