Starting to port over OpenGL stuff to core profile