summaryrefslogtreecommitdiff
path: root/silx/gui/plot3d/scene/text.py
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2021-01-06 14:10:23 +0100
committerPicca Frédéric-Emmanuel <picca@debian.org>2021-01-06 14:10:23 +0100
commit002ed7b38ea6faabaf5c38d72b7feb613a06bf18 (patch)
tree95017e251453fea7bc4cdee1f8c7948db5bcbb1e /silx/gui/plot3d/scene/text.py
parent67d50044ca7c19d729e97856afdbb820554de27f (diff)
parentb3bea947efa55d2c0f198b6c6795b3177be27f45 (diff)
Update upstream source from tag 'upstream/0.14.0+dfsg'
Update to upstream version '0.14.0+dfsg' with Debian dir 4d37469f6d6ee58a6bdbac36ff5fed8399b69383
Diffstat (limited to 'silx/gui/plot3d/scene/text.py')
-rw-r--r--silx/gui/plot3d/scene/text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/silx/gui/plot3d/scene/text.py b/silx/gui/plot3d/scene/text.py
index c2983d5..bacc2e6 100644
--- a/silx/gui/plot3d/scene/text.py
+++ b/silx/gui/plot3d/scene/text.py
@@ -1,7 +1,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2016-2017 European Synchrotron Radiation Facility
+# Copyright (c) 2016-2020 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -251,6 +251,7 @@ class Text2D(primitives.Geometry):
minFilter=gl.GL_NEAREST,
magFilter=gl.GL_NEAREST,
wrap=gl.GL_CLAMP_TO_EDGE)
+ self._texture.prepare()
self._dirtyAlign = True # To force update of offset
if self._dirtyAlign: