| Index: core/fxge/ge/cfx_renderdevice.cpp
|
| diff --git a/core/fxge/ge/cfx_renderdevice.cpp b/core/fxge/ge/cfx_renderdevice.cpp
|
| index 9c67a7d1e791991c815e768fbd5282acd05ceda4..0e047916d87e60fc2d1b6883002e580c180fb32b 100644
|
| --- a/core/fxge/ge/cfx_renderdevice.cpp
|
| +++ b/core/fxge/ge/cfx_renderdevice.cpp
|
| @@ -456,8 +456,11 @@ bool CFX_RenderDevice::SetClip_Rect(const FX_RECT& rect) {
|
| }
|
|
|
| void CFX_RenderDevice::UpdateClipBox() {
|
| - if (m_pDeviceDriver->GetClipBox(&m_ClipBox))
|
| + if (m_pDeviceDriver->GetClipBox(&m_ClipBox)) {
|
| + m_Width = m_ClipBox.right;
|
| + m_Height = m_ClipBox.top;
|
| return;
|
| + }
|
| m_ClipBox.left = 0;
|
| m_ClipBox.top = 0;
|
| m_ClipBox.right = m_Width;
|
|
|