pub fn init(disable_bindless: bool) TextureError!Texture {
var t: Texture = .{
.disable_bindless = disableBindless(disable_bindless),
};
t.disable_bindless =
return t;
}
I cut some code and pasted it elsewhere and forgot and left this code like this unaware. It compiles fine. Why? It is clearly incorrect. It seems to return the texture without any error.