Revert "TINYGL: Reuse renderRect instead of accessing fb size."

This reverts commit ec418a976967ea5cab643c47471cbbcc3505b2ac.
This commit is contained in:
Vincent Pelletier 2017-04-23 12:25:26 +00:00
parent ec418a9769
commit 50c5aef6e5

View File

@ -733,7 +733,7 @@ void tglBlitSetScissorRect(const Common::Rect &rect) {
void tglBlitResetScissorRect(void) {
TinyGL::GLContext *c = TinyGL::gl_get_context();
c->_scissorRect = c->renderRect;
c->_scissorRect = Common::Rect(0, 0, c->fb->xsize, c->fb->ysize);
}
} // end of namespace Internal