I have been using RatioResolutionPolicy and now trying to switch to FillResolutionPolicy. But whenever I setRotation() of a sprite, it get's skewed at some angle depending on the angle of rotation. I have inspected the andengine source for applyRotation() in the Entity class and this is it. Is there anything I can do to avoid skewing of my sprites?
protected void applyRotation(final GL10 pGL) { final float rotation = this.mRotation;
if(rotation != 0) {
final float rotationCenterX = this.mRotationCenterX;
final float rotationCenterY = this.mRotationCenterY;
pGL.glTranslatef(rotationCenterX, rotationCenterY, 0);
pGL.glRotatef(rotation, 0, 0, 1);
pGL.glTranslatef(-rotationCenterX, -rotationCenterY, 0);
}
}