I think you're running into an OpenGL1.1 -> OpenGL ES 2.0 compatibility issue, more than a LWJGL/LibGDX compatibilty issue. The matrix stack was deprecated in OpenGL ES 2.0, so none of the glRotate
, glTranslate
, etc are part of OpenGL ES after 2.0. See http://en.wikibooks.org/wiki/OpenGL_Programming/Migrating_from_1.x_to_2.x for details.
Anyway, there are at least two ways you can work around this, I think.
Use the Libgdx Matrix classes to do your matrix manipulations.
If your goal is to render textured rectangles, look at Libgdx
SpriteBatch
. You'll want one of thedraw
variants that expects the scaling/rotation parameters you want to use. See the SpriteBatch wiki for an overview on how to set it up.