mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 09:49:11 +00:00
WINTERMUTE: Rename VarName->varName in BViewport
This commit is contained in:
parent
685ee29640
commit
58f2d2575d
@ -63,8 +63,8 @@ HRESULT CBViewport::persist(CBPersistMgr *persistMgr) {
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
HRESULT CBViewport::setRect(int left, int top, int right, int bottom, bool NoCheck) {
|
||||
if (!NoCheck) {
|
||||
HRESULT CBViewport::setRect(int left, int top, int right, int bottom, bool noCheck) {
|
||||
if (!noCheck) {
|
||||
left = MAX(left, 0);
|
||||
top = MAX(top, 0);
|
||||
right = MIN(right, Game->_renderer->_width);
|
||||
|
@ -39,7 +39,7 @@ public:
|
||||
int getHeight();
|
||||
int getWidth();
|
||||
RECT *getRect();
|
||||
HRESULT setRect(int left, int top, int right, int bottom, bool NoCheck = false);
|
||||
HRESULT setRect(int left, int top, int right, int bottom, bool noCheck = false);
|
||||
DECLARE_PERSISTENT(CBViewport, CBBase)
|
||||
int _offsetY;
|
||||
int _offsetX;
|
||||
|
Loading…
Reference in New Issue
Block a user