You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason there aren't header guards? I tried to make a button class that drew a quad and text, but when I included <simple2d.h> in both my button header and my main cpp it gave redefinition errors. I just put a header guard in the simple2d.h file and it compiled fine. Seems like this should already be there. I'm a noob so am I just using the library incorrectly?
The text was updated successfully, but these errors were encountered:
Is there a reason there aren't header guards? I tried to make a button class that drew a quad and text, but when I included <simple2d.h> in both my button header and my main cpp it gave redefinition errors. I just put a header guard in the simple2d.h file and it compiled fine. Seems like this should already be there. I'm a noob so am I just using the library incorrectly?
The text was updated successfully, but these errors were encountered: