Update EditorItems.cpp

Removed unused clippingRect
This commit is contained in:
Asdow
2022-11-07 19:53:40 +02:00
parent f4e729ee80
commit 06065bb62f
-4
View File
@@ -220,7 +220,6 @@ void EntryInitEditorItemsInfo()
void InitEditorItemsInfo(UINT32 uiItemType) void InitEditorItemsInfo(UINT32 uiItemType)
{ {
INVTYPE *item; INVTYPE *item;
SGPRect SaveRect;
INT32 i; INT32 i;
UINT16 usCounter; UINT16 usCounter;
BOOLEAN fTypeMatch; BOOLEAN fTypeMatch;
@@ -318,7 +317,6 @@ void InitEditorItemsInfo(UINT32 uiItemType)
DetermineItemsScrolling(); DetermineItemsScrolling();
usCounter = 0; usCounter = 0;
GetClippingRect(&SaveRect);
// Go through the items, and depending on the current eInfo.uiItemType, store the item indexes for blitting graphics and names later in RenderEditorItemsInfo() // Go through the items, and depending on the current eInfo.uiItemType, store the item indexes for blitting graphics and names later in RenderEditorItemsInfo()
if( eInfo.uiItemType == TBAR_MODE_ITEM_KEYS ) if( eInfo.uiItemType == TBAR_MODE_ITEM_KEYS )
{ //Keys use a totally different method for determining { //Keys use a totally different method for determining
@@ -413,8 +411,6 @@ void InitEditorItemsInfo(UINT32 uiItemType)
usCounter++; usCounter++;
} }
} }
SetClippingRect(&SaveRect);
gfRenderTaskbar = TRUE;
} }
void DetermineItemsScrolling() void DetermineItemsScrolling()