Browse Source

python: hotfix to still compile with the now-deprecated text renderer.

The bindings need an update to the new API but this at least makes it
build.
next
Vladimír Vondruš 1 year ago
parent
commit
960910e8cb
  1. 3
      src/python/magnum/text.cpp

3
src/python/magnum/text.cpp

@ -27,6 +27,9 @@
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include <Corrade/Containers/StringStl.h> /** @todo drop once we have our string casters */ #include <Corrade/Containers/StringStl.h> /** @todo drop once we have our string casters */
#include <Magnum/ImageView.h> #include <Magnum/ImageView.h>
#include <Magnum/GL/Buffer.h>
#include <Magnum/GL/Mesh.h>
#include <Magnum/GL/Texture.h>
#include <Magnum/Text/AbstractFont.h> #include <Magnum/Text/AbstractFont.h>
#include <Magnum/Text/DistanceFieldGlyphCacheGL.h> #include <Magnum/Text/DistanceFieldGlyphCacheGL.h>
#include <Magnum/Text/Renderer.h> #include <Magnum/Text/Renderer.h>

Loading…
Cancel
Save