Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-03-30 00:00:00Z and 2020-03-31 00:00:00Z
Avatar
[quakenet] Learath2 BOT 2020-03-30 00:06:17Z
@heinrich5991 yeah but for executables linked on old versions of the OS AppKit will set it behind your back and the only way to know is either to actually disassemble the thing or know about another arcane flag that reports other arcane flags being set on stdout
00:06
NSLogUnusualAppConfig is the other undocumented config :P
Avatar
^^
Avatar
[quakenet] Learath2 BOT 2020-03-30 13:35:01Z
I spent all that time tracking down that bug, I do a hg pull on SDL, turns out someone else fixed it a couple commits ago
Avatar
waa
14:00
link?
Avatar
[quakenet] Learath2 BOT 2020-03-30 14:02:33Z
cocoa: Just update the OpenGL context directly if on the main thread.
14:47
that fixes it?
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:02:07Z
that fixes the toggle issue
15:02
anyway, does anyone have any idea why rendering of scroll regions might be affected by changing the resolution at runtime?
Avatar
Maybe @LordSk 🦋 has a clue
15:03
It's not related to clipping?
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:04:22Z
@Dune it does seem to be
15:05
no idea where to look though
Avatar
The clipping works on top of screen mapping so it should work even if the resolution changes
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:10:21Z
Avatar
How does it look without clipping at all?
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:17:21Z
It is indeed the clipping in CScrollRegion
15:17
15:18
I'm not quite certain what goes wrong though, the clipping rectangles are indeed in "screen space"
15:20
ah, Graphics()->ScreenWidth
15:21
actually, no I do fix those
Avatar
So clipping is the issue?
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:23:46Z
yep
15:24
@LordSk 🦋 is clipping stateful?
Avatar
on a frame basis yeah
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:25:25Z
the rects we pass are fine, if I draw the clip rect before I clip it's in the correct place
Avatar
so the mapping is wrong for the clip rect
15:27
(relevant code)
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:42:07Z
ah it's a highdpi issue
Avatar
[quakenet] Learath2 BOT 2020-03-30 15:56:05Z
meh it's still broken
Avatar
[quakenet] Learath2 BOT 2020-03-30 16:43:09Z
https://learath2.info/sshot7.png blue is what the clipping area actually ends up being, idk how it's happening at all...
16:43
it is a stateful issue though, e.g. going from a higher to lower resolution gives a different result to going from a lower to higher resolution
Avatar
[quakenet] Learath2 BOT 2020-03-30 16:53:19Z
oh, the resolution change happens asynchronously
Avatar
[quakenet] Learath2 BOT 2020-03-30 18:44:57Z
https://bugzilla.libsdl.org/show_bug.cgi?id=5068 I guess we can't have resizable windows on teeworlds anytime soon :(
18:45
I doubt it'd be acceptable to require a specific sdl version
Avatar
[quakenet] Learath2 BOT 2020-03-30 18:55:22Z
we can patch sdl at runtime :)
18:55
though I have a feeling Oy would hate that even more
Avatar
Learath2: patching SDL is difficult iirc, newer versions (2.0.9>) have some issues, forgot which
19:08
I think a fix would be very welcome
Avatar
[quakenet] Learath2 BOT 2020-03-30 19:10:38Z
I can't really do the SDL upgrade with only access to macOS :/
19:10
I'm kinda stuck in turkey so I only have a macbook with me
Avatar
you don't have a linux on it?
Avatar
[quakenet] Learath2 BOT 2020-03-30 19:15:58Z
don't have the space for it :(
Avatar
[quakenet] Dune BOT 2020-03-30 19:16:17Z
oh :(
19:16
so you ssh?
Avatar
[quakenet] Learath2 BOT 2020-03-30 19:35:24Z
for other things yeah, but how can I debug graphics like that? :/
Avatar
yeah I guess that sucks
20:04
ssh -X doesn't work well from mac?
Avatar
[quakenet] Learath2 BOT 2020-03-30 21:01:31Z
@Dune hmm maybe I can install an X server, there is bound to be one
Exported 52 message(s)