aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-06-19 06:57:52 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-06-19 07:46:36 +0200
commit9139373c9b3a8cd8541e0253bdf72cf939726e92 (patch)
treed72eca8091493b8f18e575943ee99fa405794946
parent1c9933f281677c1a8a852ca99c53054b430d43d8 (diff)
Remove comment that is no longer valid
In a8d357761dbf74cbdc72348be6c655cafb745ff2, we added the removed bit to the batch and implemented the suggested optimization, so this comment is no longer valid. Change-Id: I2a5c82f0ace206a989ef8c6d0c2c2b87dc83ad6f Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
index e1507ce6a7..8341f0dc57 100644
--- a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
+++ b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
@@ -806,8 +806,6 @@ void Batch::cleanupRemovedElements()
*/
void Batch::invalidate()
{
- // If doing removal here is a performance issue, we might add a "hasRemoved" bit to
- // the batch to do an early out..
cleanupRemovedElements();
Element *e = first;
first = nullptr;