wlr_texture_from_pixels: missing piece of documentation
Created by: werererer
Problem
When I use wlr_texture_from_pixels inside wlr_render_begin and wlr_render_end my program crashes after calling the next function that has something to do with rendering with the following message:
test: render/gles2/renderer.c:37: gles2_get_renderer_in_context: Assertion `wlr_egl_is_current(renderer->egl)' failed.
Solution
- Maybe wlr_texture_from_pixels should assert when being called when it is inside wlr_render_begin/end block.
- adding Documentation about it (I will do that)