I have problem with drawing a Pixmap
on a texture with Samsung GT-N5100.
public class PixmapHelper{
static Pixmap mapHelper;
static Pixmap miniObject;
public static void Initialize()
{
mapHelper=AssetLoader.GetPixmap(Settings.TEX_MAP_OBJECTS);
miniObject=new PixMap(4,4,Pixmap.Format.RGB888);
mapHelper.setBlending(Pixmap.Blending.None);
miniObject.setBlending(Pixmap.Blending.None);
}
public static void Draw(TextureRegion textureRegion,Texture dstTexture,int dstX,int dstY)
{
miniObject.drawPixmap(mapHelper,0,0,textureRegion.getRegionX(),textureRegion.getRegionY(),
textureRegion.getRegionWidth (),textureRegion.getRegionHeight());
dstTexture.draw(miniObject,dstX,dstY);
}
}
When I start the project on desktop or Samsung N-GT8000 all worked(draw) correctly.
If I start it on GT-N5100, nothing is drawn on dstTexture
.
dstTexture have Height=800 Width=600.
Can you help me to resolve this problem please?