functioning gl-2d test (without textures)