Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-03-26 17:58:57 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-03-30 16:50:05 +0300
commit05a77bb0d8f5aad9113d7a9aa1e1a7efb9342d6a (patch)
tree1960b35ec4b82a2c96084cd35a78e919be5d1a14 /source/blender/draw/intern
parent4cd409ca98574908be4b2e376d99ae0f26d7624d (diff)
Overlay: Port Edit Mode shaders to ShaderCreateInfo
This should have no regression.
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r--source/blender/draw/intern/draw_common_shader_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_common_shader_shared.h b/source/blender/draw/intern/draw_common_shader_shared.h
index af594015a3a..fa1fc9516b0 100644
--- a/source/blender/draw/intern/draw_common_shader_shared.h
+++ b/source/blender/draw/intern/draw_common_shader_shared.h
@@ -229,8 +229,8 @@ BLI_STATIC_ASSERT_ALIGN(GlobalsUboStorage, 16)
# define colorFaceFront globalsBlock.colorFaceFront
# define colorUVShadow globalsBlock.colorUVShadow
# define screenVecs globalsBlock.screenVecs
-# define sizeViewport globalsBlock.sizeViewport.xy
# define sizeViewportInv globalsBlock.sizeViewport.zw
+# define sizeViewport globalsBlock.sizeViewport.xy
# define sizePixel globalsBlock.sizePixel
# define pixelFac globalsBlock.pixelFac
# define sizeObjectCenter globalsBlock.sizeObjectCenter