now using OpenGL types