I got my projection matrix setup with glOrtho() like this:
glOrtho(-Application.HALF_WIDTH, Application.HALF_WIDTH, -Application.HALF_HEIGHT, Application.HALF_HEIGHT, 1, -1);
So, when I draw something at origin (0; 0), opengl draws it at the center of the screen. Fine. But now I want to flip the Y coordinate, so I've changed it to this:
glOrtho(-Application.HALF_WIDTH, Application.HALF_WIDTH, Application.HALF_HEIGHT, -Application.HALF_HEIGHT, 1, -1);
And when I try to draw at (0; 0) (or at any position), it gives a black screen.
What could cause this problem? p.s. i'm using lwjgl