bunch of optimizations

This commit is contained in:
Eduardo Bart
2012-03-20 12:17:10 -03:00
parent 3cd31bcd1e
commit b4261a8c7b
37 changed files with 164 additions and 123 deletions

View File

@@ -28,7 +28,7 @@ uint FrameBuffer::boundFbo = 0;
FrameBuffer::FrameBuffer()
{
m_clearColor = Fw::alpha;
m_clearColor = Color::alpha;
glGenFramebuffers(1, &m_fbo);
if(!m_fbo)
@@ -37,7 +37,7 @@ FrameBuffer::FrameBuffer()
FrameBuffer::FrameBuffer(const Size& size)
{
m_clearColor = Fw::alpha;
m_clearColor = Color::alpha;
glGenFramebuffers(1, &m_fbo);
if(!m_fbo)