I swear like 90% of the issues that I'm having with writing the program have been declaring the wrong type.Which compiler are you using? That'd be really annoying.
I apparently tried passing something a double instead of a float, and it wasn't drawing, but the compiler didn't have a problem with it. So I didn't realize my error.
I had something similar not too long ago where I used a short instead of a half. Worked just fine from the compiler's perspective but was really giving me a headache.