Move GL state initialization into GLState