TINYGL: Renamed tglBlitScissorRect into tglBlitSetScissorRect
This commit is contained in:
parent
daa8394adb
commit
5adba756e3
4 changed files with 5 additions and 5 deletions
|
@ -198,7 +198,7 @@ void glInit(void *zbuffer1, int textureSize) {
|
|||
c->_drawCallAllocator[0].initialize(kDrawCallMemory);
|
||||
c->_drawCallAllocator[1].initialize(kDrawCallMemory);
|
||||
|
||||
Graphics::Internal::tglBlitScissorRect(0, 0, c->fb->xsize, c->fb->ysize);
|
||||
Graphics::Internal::tglBlitSetScissorRect(0, 0, c->fb->xsize, c->fb->ysize);
|
||||
}
|
||||
|
||||
void glClose() {
|
||||
|
|
|
@ -643,7 +643,7 @@ void tglCleanupImages() {
|
|||
}
|
||||
}
|
||||
|
||||
void tglBlitScissorRect(int left, int top, int right, int bottom) {
|
||||
void tglBlitSetScissorRect(int left, int top, int right, int bottom) {
|
||||
scissorRect.left = left;
|
||||
scissorRect.right = right;
|
||||
scissorRect.top = top;
|
||||
|
|
|
@ -181,7 +181,7 @@ namespace Internal {
|
|||
@param top coordinate
|
||||
@param bottom coordinate
|
||||
*/
|
||||
void tglBlitScissorRect(int left, int top, int right, int bottom);
|
||||
void tglBlitSetScissorRect(int left, int top, int right, int bottom);
|
||||
} // end of namespace Internal
|
||||
|
||||
} // end of namespace Graphics
|
||||
|
|
|
@ -526,9 +526,9 @@ void BlittingDrawCall::execute(bool restoreState) const {
|
|||
}
|
||||
|
||||
void BlittingDrawCall::execute(const Common::Rect &clippingRectangle, bool restoreState) const {
|
||||
Graphics::Internal::tglBlitScissorRect(clippingRectangle.left, clippingRectangle.top, clippingRectangle.right, clippingRectangle.bottom);
|
||||
Graphics::Internal::tglBlitSetScissorRect(clippingRectangle.left, clippingRectangle.top, clippingRectangle.right, clippingRectangle.bottom);
|
||||
execute(restoreState);
|
||||
Graphics::Internal::tglBlitScissorRect(0, 0, 0, 0);
|
||||
Graphics::Internal::tglBlitSetScissorRect(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
BlittingDrawCall::BlittingState BlittingDrawCall::loadState() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue