Is there any reason why FrameBuffer.blit() could show a black image?

Started by Yerst, August 13, 2013, 09:10:32 PM

Previous topic - Next topic

Yerst

Hey!
I'm currently stuck at a weird problem.
This works and show exactly what i wan't:

else
{
fb.blit(this.background, 0, 0, 0, 0, 512, 256, width, height, -1, false);
}

But when i call this in another class it doesn't:

else
{
csssm.update(fb,this.background);
}

csssm.update():

public void update(FrameBuffer fb,Texture texture)
{
fb.blit(texture, 0, 0, 0, 0, 512, 256, width, height, -1, false);
}

There is just a blank image then...

Yerst

Forget about this topic, i already found my fault.
It's just to embarrassing to talk about...