batch.begin();
batch.draw(region, 1, 1, 256, 256);
batch.end();
screenCap = ScreenUtils.getFrameBufferPixmap(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
screenCapTex = new Texture(screenCap);
<BUG>System.out.println(screenCap.getPixel(0, 0));

System.out.println(screenCap.getPixel(1, 1));

System.out.println(screenCap.getPixel(256, 256));

System.out.println(screenCap.getPixel(257, 257));
</BUG>
}

batch.begin();
batch.draw(region, 1, 1, 256, 256);
batch.end();
screenCap = ScreenUtils.getFrameBufferPixmap(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
screenCapTex = new Texture(screenCap);
System.out.println(Integer.toHexString(screenCap.getPixel(0, 0)));
System.out.println(Integer.toHexString(screenCap.getPixel(1, 1)));
System.out.println(Integer.toHexString(screenCap.getPixel(256, 256)));
System.out.println(Integer.toHexString(screenCap.getPixel(257, 257)));
}
