333
334
void IOpenGLFrameBufferObject::SetClippingRectangle (const Rect &rect)
338
GetThreadGraphicsContext ()->SetScissor (rect.x, _Height - rect.y - rect.height, rect.width, rect.height);
339
GetGraphicsDisplay()->GetGraphicsEngine()->SetScissor (rect.x, _Height - rect.y - rect.height, rect.width, rect.height);
342
343
void IOpenGLFrameBufferObject::SetOpenGLClippingRectangle (int x, int y, int width, int height)
346
347
_clipping_rect = Rect (x, y, width, height);
347
GetThreadGraphicsContext ()->SetScissor (x, y, width, height);
348
GetGraphicsDisplay()->GetGraphicsEngine()->SetScissor (x, y, width, height);