Raster render updates
This commit is contained in:
parent
8fc76a81f3
commit
8d167b960a
10 changed files with 121 additions and 39 deletions
|
|
@ -102,7 +102,7 @@ void RenderBuffer::setViewport(const RectF& viewport) {
|
|||
|
||||
void RenderBuffer::clear() {
|
||||
AssertGL(glClearColor(mClearCol.r, mClearCol.g, mClearCol.b, mClearCol.a));
|
||||
AssertGL(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT));
|
||||
AssertGL(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT));
|
||||
}
|
||||
|
||||
void RenderBuffer::endDraw() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue