improve gl interface to be more accurate
This commit is contained in:
parent
418e257f35
commit
f0697d04da
3 changed files with 3 additions and 4 deletions
|
|
@ -58,8 +58,8 @@ namespace MatterHackers.GCodeVisualizer
|
|||
{
|
||||
try
|
||||
{
|
||||
GL.GenBuffers(1, out vertexID);
|
||||
GL.GenBuffers(1, out indexID);
|
||||
vertexID = GL.GenBuffer();
|
||||
indexID = GL.GenBuffer();
|
||||
SetBufferData(ref indexData, ref colorData);
|
||||
}
|
||||
catch
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ using MatterHackers.Agg;
|
|||
using MatterHackers.Agg.Platform;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.MatterControl.DataStorage;
|
||||
using MatterHackers.MatterControl.SettingsManagement;
|
||||
using MatterHackers.MatterControl.SlicerConfiguration;
|
||||
using MatterHackers.SerialPortCommunication.FrostedSerial;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 028e429560867a42e01d6c0bb3320afd05167c34
|
||||
Subproject commit 76b561b55e80f930021a60c66507d00a03939625
|
||||
Loading…
Add table
Add a link
Reference in a new issue