Closed rillki closed 2 years ago
I'm dynamically loading SDL2. I see that SDL_WINDOW_ALLOW_HIGHDPI is defined in sdl/bind/sdlvideo.d, but still get this error. SDL_GetVersion returns SDL_version(2, 24, 0).
SDL_WINDOW_ALLOW_HIGHDPI
SDL_version(2, 24, 0)
dub.json:
"dependencies": { "bindbc-sdl": "~>1.2.1" }, "versions": ["SDL2020", "SDL_Image", "SDL_TTF", "SDL_Mixer"],
You've got the wrong version defined for SDL: "SDL2020" should be "SDL_2020".
"SDL2020"
"SDL_2020"
thanks, it works now.
I'm dynamically loading SDL2. I see that
SDL_WINDOW_ALLOW_HIGHDPI
is defined in sdl/bind/sdlvideo.d, but still get this error. SDL_GetVersion returnsSDL_version(2, 24, 0)
.dub.json: