call all display lists at once
This commit is contained in:
1 parent
10e996c96c
commit
7075e29e0e
1 file changed
+3
-4
@@ -460,10 +460,9 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
ClearScreen();
|
ClearScreen();
|
||||||
|
|
||||||
_Run = _Run && CGraphics.Draw();
|
_Run = _Run && CGraphics.Draw();
|
||||||
foreach (int list in _GLList)
|
|
||||||
{
|
GL.CallLists(_GLList.Count, ListNameType.Int, _GLList.ToArray());
|
||||||
GL.CallList(list);
|
|
||||||
}
|
|
||||||
if (_GLList.Count > 0)
|
if (_GLList.Count > 0)
|
||||||
GL.DeleteLists(_GLList[0], _GLList.Count);
|
GL.DeleteLists(_GLList[0], _GLList.Count);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user