mdparker / Derelict3

A collection of dynamic D bindings to C libraries, useful for multimedia and game development.
169 stars 39 forks source link

SDL_WindowFlags: SDL_WINDOW_ALLOW_HIGHDPI is missing #171

Closed Dgame closed 10 years ago

Dgame commented 10 years ago

Here: http://hg.libsdl.org/SDL/file/default/include/SDL_video.h#l111 But not here: https://github.com/aldacron/Derelict3/blob/master/import/derelict/sdl2/types.d#L2036

:)

mdparker commented 10 years ago

I haven't updated to SDL 2.01 yet. I'll get around to it soon.

Dgame commented 10 years ago

Would be kind if you could confirm this here, so I will be informed. Thank you. :)

mdparker commented 10 years ago

OK, I've updated to SDL 2.0.1. Please be aware that this means the 2.0.0 shared library will fail to load now.

Dgame commented 10 years ago

You've ruined it. :(

mdparker commented 10 years ago

What do you mean?

Dgame commented 10 years ago

Someone cheered too soon. The fault seems to lie somewhere in me. You have again been lucky. ;)

Dgame commented 10 years ago

Could it be that you have forgotten to bind SDL_GL_GetCurrentWindow and SDL_GL_GetCurrentContext?

mdparker commented 10 years ago

Ugh. I declared the aliases but overlooked the rest. The DerelictOrg repo is correct though. Fixed now. Thanks!