basic options window

This commit is contained in:
Eduardo Bart
2011-04-17 18:15:24 -03:00
parent 8ef534e7b7
commit 5be199e566
5 changed files with 131 additions and 10 deletions

View File

@@ -118,17 +118,11 @@ void Graphics::beginRender()
{
glClear(GL_COLOR_BUFFER_BIT);
glLoadIdentity();
// quads is the default drawing mode
glBegin(GL_QUADS);
m_drawMode = DRAW_QUADS;
}
void Graphics::endRender()
{
// end last drawing
glEnd();
m_drawMode = DRAW_NONE;
disableDrawing();
}
void Graphics::disableDrawing()