Error: undefined identifier `SDL_WINDOW_ALLOW_HIGHDPI`
rillki opened this issue · comments
Ki Rill commented
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)
.
dub.json:
"dependencies": {
"bindbc-sdl": "~>1.2.1"
},
"versions": ["SDL2020", "SDL_Image", "SDL_TTF", "SDL_Mixer"],
Mike Parker commented
You've got the wrong version defined for SDL: "SDL2020"
should be "SDL_2020"
.
Ki Rill commented
thanks, it works now.