[Bf-blender-cvs] [1aabb0bfcf2] master: Cleanup: redundant const usage

Campbell Barton noreply at git.blender.org
Tue Aug 6 09:05:39 CEST 2019


Commit: 1aabb0bfcf22969d570b57bc621d2709b45429ef
Author: Campbell Barton
Date:   Tue Aug 6 17:04:46 2019 +1000
Branches: master
https://developer.blender.org/rB1aabb0bfcf22969d570b57bc621d2709b45429ef

Cleanup: redundant const usage

===================================================================

M	source/blender/draw/engines/workbench/workbench_private.h

===================================================================

diff --git a/source/blender/draw/engines/workbench/workbench_private.h b/source/blender/draw/engines/workbench/workbench_private.h
index cb9a97878e2..255b036eebb 100644
--- a/source/blender/draw/engines/workbench/workbench_private.h
+++ b/source/blender/draw/engines/workbench/workbench_private.h
@@ -389,7 +389,7 @@ BLI_INLINE bool workbench_is_matdata_pass_enabled(WORKBENCH_PrivateData *wpd)
  * color banding issues (T66100). All other modes use GPU_RGBA8 to reduce
  * bandwidth and gpu memory.
  */
-BLI_INLINE const eGPUTextureFormat workbench_color_texture_format(const WORKBENCH_PrivateData *wpd)
+BLI_INLINE eGPUTextureFormat workbench_color_texture_format(const WORKBENCH_PrivateData *wpd)
 {
   eGPUTextureFormat result;
   if (DRW_state_is_image_render() || workbench_is_in_texture_paint_mode() ||



More information about the Bf-blender-cvs mailing list