Fixed compilation issues in spritebatcherGL