fix enum usage from sdl2