Original Post
Tring to get something easy to work, but can't seem to please the compiler. Any ideas of what I need to do to get this to work? Here is where I got my OpenGl Library: http://csgl.sourceforge.net/ OpenGL Function: public static extern void glColorPointer( int size, uint type, int stride, float[,] pointer ); Array: private float[] colors = {1.0f, 0.2f, 0.2f, 0.2f, 0.2f, 1.0f, 0.8f, 1.0f, 0.2f, 0.75f, 0.75f, 0.75f, 0.35f, 0.35f, 0.35f, 0.5f, 0.5f, 0.5f }; Using of function that doesn't compile: GL.glColorPointer(3, GL.GL_FLOAT, 0, colors);