Author Topic: Is there any reason why FrameBuffer.blit() could show a black image?  (Read 578 times)

Offline Yerst

  • byte
  • *
  • Posts: 38
    • View Profile
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...

Offline Yerst

  • byte
  • *
  • Posts: 38
    • View Profile
Re: Is there any reason why FrameBuffer.blit() could show a black image?
« Reply #1 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...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Is there any reason why FrameBuffer.blit() could show a black image?
« Reply #2 on: August 13, 2013, 10:33:28 pm »
No problem... ;)