The whole code breaks down when I try to instantiate a class

DrawTexture\Pro DrawTexturePro requires this :slight_smile:
DrawTexturePro(texture, source, dest, Vector2Zero() , 0, WHITE);
So, when I used brace initialization Vector2{} I had a segment error.
Sometimes small things can become BIG Issues when you anger the compiler … :sweat_smile:
Happy coding and remember that bugs are dangerous if not spotted and eliminated or at least flagged clearly.

Privacy & Terms