mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Added Rendering Window class and output window in Rendering. Cleanup and
refactoring.
This commit is contained in:
@@ -112,14 +112,14 @@ void FrameBuffer::begin()
|
||||
{
|
||||
bind();
|
||||
|
||||
Rendering::manager().PushAttrib(attrib_);
|
||||
Rendering::manager().pushAttrib(attrib_);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
void FrameBuffer::end()
|
||||
{
|
||||
Rendering::manager().PopAttrib();
|
||||
Rendering::manager().popAttrib();
|
||||
|
||||
FrameBuffer::release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user