www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Yerst on August 13, 2013, 09:10:32 pm

Title: Is there any reason why FrameBuffer.blit() could show a black image?
Post by: Yerst on August 13, 2013, 09:10:32 pm
Hey!
I'm currently stuck at a weird problem.
This works and show exactly what i wan't:
Code: [Select]
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:
Code: [Select]
else
{
csssm.update(fb,this.background);
}
csssm.update():
Code: [Select]
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...
Title: Re: Is there any reason why FrameBuffer.blit() could show a black image?
Post by: Yerst on August 13, 2013, 09:42:07 pm
Forget about this topic, i already found my fault.
It's just to embarrassing to talk about...
Title: Re: Is there any reason why FrameBuffer.blit() could show a black image?
Post by: EgonOlsen on August 13, 2013, 10:33:28 pm
No problem... ;)