Whenever I use App.Draw(sprite) over my window, it doesn't render to the screen.
Just a snippet...
while (App.IsOpened())
{
App.SetActive();
PollInput();
PositionCamera();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
gluLookAt(camx, camy, camz, 0, 0, 0, 0, 1, 0);
gl_draw_axes(-50.0, 50.0, -50.0, 50.0, -50.0, 50.0, .5*(Distance/70)); // Draw axes
Bar_sprite.SetPosition(30, 30);
App.Draw(Bar_sprite);
App.Display();
}
In my headers, I load the image and it loads correctly. I have PreserveOpenGLStates(true) set at the top. What am i doing wrong?