View Single Post
Old 02-27-2020, 01:51 PM   #5
jbenwell
Member
jbenwell began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2020
Device: Kobo Forma
Thanks very much, NiLuJe and pazos. I threw this in (not to submit, just to try):

bit.bor(bit.bor(full_screen and 1 or 0, SDL.SDL_WINDOW_RESIZABLE), SDL.SDL_WINDOW_ALLOW_HIGHDPI)

and also had to add this to

SDL2_0_h.lua line 853

static const int SDL_WINDOW_ALLOW_HIGHDPI = 4096;

I'm not sure if there is any interest in this, but I can submit it as a fix after wrapping things nicely and setting the flags in a nicer way.
jbenwell is offline   Reply With Quote