GRIM/OPENGL: cleanup type