View Single Post
Old 02-28-2020, 02:22 PM   #16
jbenwell
Member
jbenwell began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2020
Device: Kobo Forma
Thanks very much again. How does this look:

if SDL_Linked_Version_AtLeast(2, 0, 4) then
screen_flags = bit.bor(full_screen and 1 or 0,
SDL.SDL_WINDOW_RESIZABLE,
SDL.SDL_WINDOW_ALLOW_HIGHDPI)
else
screen_flags = bit.bor(full_screen and 1 or 0,
SDL.SDL_WINDOW_RESIZABLE)
end

I added this to SDL2_0_decl.c

SDL2_0_decl.c:cdecl_const(SDL_WINDOW_ALLOW_HIGHDPI )
jbenwell is offline   Reply With Quote