I'm trying to load a TextureRegion from my TextureAtlas. However, it's loading the whole TextureAtlas instead of just the subimage.
The issue is similar to this question but I'm not calling sprite.getTexture(), yet I'm getting the same problem.
TextureAtlas atlas;
oceanTextureRegion;
atlas = new TextureAtlas(Gdx.files.internal("atlas.txt"));
oceanTextureRegion = atlas.findRegion("ocean");
in render method...
batch.draw(oceanTextureRegion, 0, 0);