the import com.badlogic.gdx.graphics.gl10 cannot be resolved

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 12:52:57

You are probably using a recent version of Libgdx, like 1.0.0 (please include the version in future). OpenGL 1.x support was removed from Libgdx on March 2, 2014.

Replace the GL10 class with GL20 (most of it is the same) and remove the useGL20 config flag.

The use of libgdx-0.9.9 made it work for me. You can get it here: http://libgdx.badlogicgames.com/releases/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!