aconstlink / natus

[Discontinued] Software Framework for Audio/Visual/Interactive Real-Time Applications
https://aconstlink.de
MIT License
0 stars 0 forks source link

ES3 Framebuffer not working with sprite_render_2d #256

Closed aconstlink closed 3 years ago

aconstlink commented 3 years ago

There is a very nasty bug where there is no output of the sprite render if a framebuffer is used. This assumption already took some time to figure out.

aconstlink commented 3 years ago

This bug was due to the fact that the framebuffer creates images that the array data is doing to on construction time. The framebuffer image creation missed to set the valid flag for the image. Very hard to find!