game/editor/io.cpp
, line 264 (https://github.com/ddnet/ddnet/blob/e3eeec762d0634d93aef6d076e6c414e013ff9d2/src/game/editor/io.cpp#L264) it clearly shouldn't add any data if there are no map settings, except maybe if there was a zero length map setting which shouldn't make sense coz they are at the very least zero-terminatedbind ctrl+shift+0 r[command]
cannot work.#define t iTime
#define r iResolution.xy
void mainImage( out vec4 fragColor, in vec2 fragCoord ){
vec3 c;
float l,z=t;
for(int i=0;i<3;i++) {
vec2 uv,p=fragCoord.xy/r;
uv=p;
p-=.5;
p.x*=r.x/r.y;
z+=.07;
l=length(p);
uv+=p/l*(sin(z)+1.)*abs(sin(l*9.-z-z));
c[i]=.01/length(mod(uv,1.)-.5);
}
fragColor=vec4(c/l,t);
}
int
with some CConfigInt
class with a single relaxed atomic integer inside and lots of operator overloads. It didn't work, because some stuff takes addresses, e.g. the UI code, it does so for modifying the config variables with sliders etc.std::lock_guard
and std::unique_lock
?std::lock_guard
and std::unique_lock
? std::lock_guard
because it can do less, by default?std::scoped_lock
is a better version of std::lock_guard
std::lock_guard
it ishelp
on everything you get from the library, there should be some docs already