Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-08-11 00:00:00Z and 2021-08-12 00:00:00Z
For older OpenGL contexts
@Learath2 can you check this?
Checklist
Tested the change ingame
Provided screenshots if it is a visual change
Tested in combination with possibly related configuratio...
maybe we should just remove these stupid broken GL versions and default to GL 3.3 and remove the texture unit optimization stuff so it won't break on some systems
we could probably calculate the texel offset for that context too, but i assume only few ppl use 1.x and they probs have a poor resolution anyway to notice
i dont get your first question
for the second:
bcs 3d textures exists since gl 1.2
and 2d array textures are core since 3.0( and over extension for gl 2.1)(edited)
07:48
vanilla doesnt want modern things xd
Learath2
So Q: can't one disable mipmaps? Why did vanilla go with 3d textures if so?
basically you can imagine it as, just adding an offset of 1/512
so if you have low res screen it looks ok
and on higher res it will remove too much from the texture, but the bordertool streetches these pixels, so in the end it looks fine too
07:53
but removing 4 pixels of a 64 pixels tile is quite alot
nori
i think sdl 2.0.16 broke wayland backend on wlroots
basically you can imagine it as, just adding an offset of 1/512
so if you have low res screen it looks ok
and on higher res it will remove too much from the texture, but the bordertool streetches these pixels, so in the end it looks fine too
This protocol is meant to be used by drivers to be able to hint to the compositor if and when it should employ asynchronous page flips for presentation....
I've been playing games almost as long as you and I've almost always played with vsync, there is a difference but calling it insane is a bit overreaching
(unless you obsess about it, then it will stay there forever, the brain is good at making the motion continuous, but if you keep looking for the gap it can't do it's job)
For older OpenGL contexts
@Learath2 can you check this?
Checklist
Tested the change ingame
Provided screenshots if it is a visual change
Tested in combination with possibly related configuratio...
@Learath2https://github.com/Jupeyy/ddnet/commit/3b5eddbe4607f342c8931ff8601eb33220bf6434
This checks glError after every opengl call, and also checks the current attached shader for correct runtime(e.g. missing texture etc.)
If you want you could try to use it with GL 2.1(u gotta enable gfx_3d_texture_analysis_done 1 for that again)
Maybe it shows why it cant render tile sets
if yes its suprisingly late considering how long ago ms bought github and gitlab already had a more solid IDE right? I mean wasnt vscode developed as web app and then later "ported" to desktop
I used light github while working outside the last week
20:37
I also use a light themed ide when out, it's actually fairly hard to see when the sun is out, we sort of forget how insanely overwhelming the sun can be compared to our puny indoor lighting