Deleted the ClearDisplaySurface functions. If you just need to clear the graphics, call gui_ClearGraphics function in LuaImplementation.
This commit is contained in:
parent
2799d55f4a
commit
9b9a8546a5
|
@ -111,7 +111,6 @@ namespace BizHawk.MultiClient
|
|||
luaList[x].Enabled = false;
|
||||
Changes(true);
|
||||
UpdateNumberOfScripts();
|
||||
ClearDisplaySurface();
|
||||
}
|
||||
|
||||
public void Restart()
|
||||
|
@ -287,17 +286,9 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
LuaListView.Refresh();
|
||||
UpdateNumberOfScripts();
|
||||
ClearDisplaySurface();
|
||||
Changes(true);
|
||||
}
|
||||
|
||||
public void ClearDisplaySurface()
|
||||
{
|
||||
LuaImp.gui_drawNew();
|
||||
LuaImp.gui_clearGraphics();
|
||||
LuaImp.gui_drawFinish();
|
||||
}
|
||||
|
||||
public void RunLuaScripts()
|
||||
{
|
||||
for (int x = 0; x < luaList.Count; x++)
|
||||
|
@ -440,7 +431,6 @@ namespace BizHawk.MultiClient
|
|||
indexes.Clear();
|
||||
DisplayLuaList();
|
||||
}
|
||||
ClearDisplaySurface();
|
||||
UpdateNumberOfScripts();
|
||||
}
|
||||
|
||||
|
@ -843,6 +833,7 @@ namespace BizHawk.MultiClient
|
|||
try
|
||||
{
|
||||
LuaImp.gui_drawNew();
|
||||
//LuaImp.gui_clearGraphics();
|
||||
if (s.Enabled && s.Thread != null && !s.Paused)
|
||||
{
|
||||
bool prohibit = false;
|
||||
|
|
Loading…
Reference in New Issue