Browse Source

python: skip GL text rendering test case on ES2.

Needs OES_mapbuffer but I don't have extension queries exposed yet.
pull/16/head
Vladimír Vondruš 4 years ago
parent
commit
403689f3bf
  1. 2
      src/python/magnum/test/test_text_gl.py

2
src/python/magnum/test/test_text_gl.py

@ -32,6 +32,7 @@ import unittest
from . import GLTestCase, setUpModule
from corrade import pluginmanager
import magnum
from magnum import *
from magnum import gl, text
@ -61,6 +62,7 @@ class DistanceFieldGlyphCache(GLTestCase):
self.assertEqual(cache.padding, (2, 2))
class Renderer2D(GLTestCase):
@unittest.skipIf(magnum.TARGET_GLES2, "Needs OES_mapbuffer on ES2 and extension queries are not exposed to Python yet")
def test(self):
font = text.FontManager().load_and_instantiate('StbTrueTypeFont')
font.open_file(os.path.join(os.path.dirname(__file__), 'Oxygen.ttf'), 16.0)

Loading…
Cancel
Save