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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue