[Bf-blender-cvs] [6afa238cedc] temp-image-buffer-rasterizer: Reverted default constructor.

Jeroen Bakker noreply at git.blender.org
Wed Mar 2 10:17:19 CET 2022


Commit: 6afa238cedcd813c98c9ed3b918ddb3c8b4d90f3
Author: Jeroen Bakker
Date:   Wed Mar 2 10:17:06 2022 +0100
Branches: temp-image-buffer-rasterizer
https://developer.blender.org/rB6afa238cedcd813c98c9ed3b918ddb3c8b4d90f3

Reverted default constructor.

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

M	source/blender/imbuf/IMB_rasterizer.hh

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

diff --git a/source/blender/imbuf/IMB_rasterizer.hh b/source/blender/imbuf/IMB_rasterizer.hh
index 95f86c7e518..4473a52921f 100644
--- a/source/blender/imbuf/IMB_rasterizer.hh
+++ b/source/blender/imbuf/IMB_rasterizer.hh
@@ -177,17 +177,16 @@ template<typename FragmentInput, typename FragmentOutput> class AbstractFragment
 template<typename FragmentInput> class Rasterline {
  public:
   /** Row where this rasterline will be rendered. */
-  uint32_t y = 0;
+  uint32_t y ;
   /** Starting X coordinate of the rasterline. */
-  uint32_t start_x = 0;
+  uint32_t start_x ;
   /** Ending X coordinate of the rasterline. */
-  uint32_t end_x = 0;
+  uint32_t end_x ;
   /** Input data for the fragment shader on (start_x, y). */
   FragmentInput start_data;
   /** Delta to add to the start_input to create the data for the next fragment. */
   FragmentInput fragment_add;
 
-  Rasterline() = default;
   Rasterline(uint32_t y,
              uint32_t start_x,
              uint32_t end_x,



More information about the Bf-blender-cvs mailing list