Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SRL/misc/SmartGraphics.simba
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ begin
{$ENDIF}
SMART_Canvas.setSize(765, 503);
{$IFDEF LAPE}
SetPersistentMemoryBitmap(SMART_Canvas.getIndex(), SmartDebugArray(smartCurrentTarget), 765, 503);
SMART_Canvas.SetPersistentMemory(SmartDebugArray(smartCurrentTarget), 765, 503);
SMART_Canvas.drawClear(0); //clear it in case of previous usage
{$ELSE}
SetPersistentMemoryBitmap(SMART_Canvas.index, SmartDebugArray(smartCurrentTarget), 765, 503);
Expand Down Expand Up @@ -537,7 +537,7 @@ begin
if (SMART_DebugSetup) then
begin
{$IFDEF LAPE}
ResetPersistentMemoryBitmap(SMART_Canvas.getIndex());
SMART_Canvas.ResetPersistentMemory;
{$ELSE}
ResetPersistentMemoryBitmap(SMART_Canvas.Index);
{$ENDIF}
Expand Down