Browse Source

TextureTools: no, it's no longer creating a shader every time.

This was fixed back in f0bb710cd3, shortly
after adding the benchmark, but the comment wasn't removed by accident.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
c60a1a98b9
  1. 2
      src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp

2
src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp

@ -344,8 +344,6 @@ void DistanceFieldGLTest::benchmark() {
GL::DebugOutput::setCallback(nullptr);
CORRADE_BENCHMARK(5) {
/* This is creating the shader from scratch every time, so no wonder
it's so freaking slow */
distanceField(input, output, {{}, Vector2i{64}}
#ifdef MAGNUM_TARGET_GLES
, inputImage->size()

Loading…
Cancel
Save