jPCT-AE - a 3d engine for Android > Support

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

(1/1)

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

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

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

--- Code: ---else
{
csssm.update(fb,this.background);
}
--- End code ---
csssm.update():

--- Code: ---public void update(FrameBuffer fb,Texture texture)
{
fb.blit(texture, 0, 0, 0, 0, 512, 256, width, height, -1, false);
}
--- End code ---
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...

EgonOlsen:
No problem... ;)

Navigation

[0] Message Index

Go to full version