Commit: 595b30223175cb691816366557cda2bdbecfb11c
Author: Jeroen Bakker
Date:   Fri Dec 9 12:28:05 2022 +0100
Branches: master
https://developer.blender.org/rB595b30223175cb691816366557cda2bdbecfb11c

Cleanup: Remove unused method BatchUpdater::discard_batch.

Batch discarding is done by the owner of the batch.

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

M       source/blender/draw/engines/image/image_batches.hh

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

diff --git a/source/blender/draw/engines/image/image_batches.hh 
b/source/blender/draw/engines/image/image_batches.hh
index 34dca043ccc..1d7e7a0b548 100644
--- a/source/blender/draw/engines/image/image_batches.hh
+++ b/source/blender/draw/engines/image/image_batches.hh
@@ -31,11 +31,6 @@ class BatchUpdater {
     init_batch();
   }
 
-  void discard_batch()
-  {
-    GPU_BATCH_DISCARD_SAFE(info.batch);
-  }
-
  private:
   void ensure_clear_batch()
   {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to