[Bf-blender-cvs] [3c9956fe551] master: Cleanup: Suppress compilation warning in eevee_lights.

Jeroen Bakker noreply at git.blender.org
Mon Aug 15 11:59:40 CEST 2022


Commit: 3c9956fe551eb4d12a088e5c00cc5719fc4db3cd
Author: Jeroen Bakker
Date:   Mon Aug 15 11:58:19 2022 +0200
Branches: master
https://developer.blender.org/rB3c9956fe551eb4d12a088e5c00cc5719fc4db3cd

Cleanup: Suppress compilation warning in eevee_lights.

Temporarily commented out LightModule::input_depth_tx until it is used to hide a
compilation warning.

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

M	source/blender/draw/engines/eevee_next/eevee_light.hh

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

diff --git a/source/blender/draw/engines/eevee_next/eevee_light.hh b/source/blender/draw/engines/eevee_next/eevee_light.hh
index c2d7aad34ae..aad798ccec2 100644
--- a/source/blender/draw/engines/eevee_next/eevee_light.hh
+++ b/source/blender/draw/engines/eevee_next/eevee_light.hh
@@ -125,7 +125,7 @@ class LightModule {
 
   /** Debug Culling visualization. */
   DRWPass *debug_draw_ps_ = nullptr;
-  GPUTexture *input_depth_tx_ = nullptr;
+  /* GPUTexture *input_depth_tx_ = nullptr; */
 
  public:
   LightModule(Instance &inst) : inst_(inst){};



More information about the Bf-blender-cvs mailing list