just fixes

* fix battle rendering
* fix rendering glitch when following creatures
* properly throw exceptions from C++ to lua and avoid exception crashs
* fixes rendering states in framebuffer
This commit is contained in:
Eduardo Bart
2012-06-06 11:10:35 -03:00
parent 7a529d23be
commit bb1fb939c4
17 changed files with 70 additions and 90 deletions

View File

@@ -235,8 +235,7 @@ void Graphics::resize(const Size& size)
void Graphics::beginRender()
{
//glClearColor(0, 0, 0, 1);
//glClear(GL_COLOR_BUFFER_BIT);
//g_painter->clear(Color::black);
}
void Graphics::endRender()