diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-01-17 01:40:15 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-01-17 01:40:15 +0300 |
commit | 265950083566b78175a18df858a27550489dd117 (patch) | |
tree | c8e1be17b3f31b0b6672294e47aba31546001a82 /source/blender/draw/modes/edit_lattice_mode.c | |
parent | 96138daa2bd4e82c7d326a5cfc2a6ba042a4a0dd (diff) |
DRW: Codestyle refactor: Use macro to create shader libs.
This clears up the code from many DynStr usage. Easier to read.
Diffstat (limited to 'source/blender/draw/modes/edit_lattice_mode.c')
-rw-r--r-- | source/blender/draw/modes/edit_lattice_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/edit_lattice_mode.c b/source/blender/draw/modes/edit_lattice_mode.c index ff4c557326e..23352118e04 100644 --- a/source/blender/draw/modes/edit_lattice_mode.c +++ b/source/blender/draw/modes/edit_lattice_mode.c @@ -151,7 +151,7 @@ static void EDIT_LATTICE_engine_init(void *vedata) e_data.overlay_vert_sh = DRW_shader_create_with_lib( datatoc_edit_lattice_overlay_loosevert_vert_glsl, NULL, datatoc_edit_lattice_overlay_frag_glsl, - datatoc_common_globals_lib_glsl, NULL); + NULL, datatoc_common_globals_lib_glsl); } } |