Fixed glPolygonMode call