diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-14 21:52:45 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-14 21:53:34 +0300 |
commit | f1e34ee7faabeaebf857435e8422a68fb520e283 (patch) | |
tree | c0a8a597ea2e38b4a48f79303e2d14455e5af6cc /source/blender/gpu/intern/gpu_state_private.hh | |
parent | fc2ce8495e869e2527f9bb2e2618fa02aa67d72e (diff) |
Fix T80782 GPU: Curve editing widget point size broken after recent commit
This was caused by a faulty default where program point size was used.
Diffstat (limited to 'source/blender/gpu/intern/gpu_state_private.hh')
-rw-r--r-- | source/blender/gpu/intern/gpu_state_private.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_state_private.hh b/source/blender/gpu/intern/gpu_state_private.hh index b8d247ec175..149a1ece186 100644 --- a/source/blender/gpu/intern/gpu_state_private.hh +++ b/source/blender/gpu/intern/gpu_state_private.hh @@ -98,7 +98,7 @@ union GPUStateMutable { /* Viewport State */ /** TODO remove */ float depth_range[2]; - /** Negative if using program point size. */ + /** Positive if using program point size. */ /* TODO(fclem) should be passed as uniform to all shaders. */ float point_size; /** Not supported on every platform. Prefer using wideline shader. */ |