
glDrawElements() is subtly retarded
Posted Friday, 11 June, 2010 - 05:40 by Icefox| Project: | Meshomatic |
| Version: | 0.2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Icefox |
| Status: | fixed |
Jump to:
Description
DisplayMesh Main.cs, line 122:
GL.DrawElements(BeginMode.Triangles, inds, DrawElementsType.UnsignedInt, 0);
should be:
GL.DrawElements(BeginMode.Triangles, inds, DrawElementsType.UnsignedInt, IntPtr.Zero);
This is fixed in the next release but I'd rather actually add new stuff before making another release, rather than a one-line fix.


Comments
#1
I guess 'postponed' is the right status here?
#2
There's no reason to do that, the
intversion is just a shortcut to theIntPtrversion. From GLHelper.cs, line 831:#3
Fixed in 0.3.0