py-sdl / py-sdl2

Python ctypes wrapper around SDL2
Other
304 stars 49 forks source link

TTF_WRAPPED_ALIGN_* is not defined bug #260

Closed Pixelsuft closed 1 year ago

Pixelsuft commented 1 year ago

How To Reproduce

from sdl2.sdlttf import *
print(TTF_WRAPPED_ALIGN_CENTER)

Result

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'TTF_WRAPPED_ALIGN_CENTER' is not defined
a-hurst commented 1 year ago

Good catch! Should be fixed in the latest commit: https://github.com/py-sdl/py-sdl2/commit/3e46d780152278b3bc5b60cda19de2e52ea6bc7e