st/gui: Make sure to add ogl texture sink to context

This commit is contained in:
Jakob Bornecrantz committed 2021-08-20 17:18:42 +01:00
1 parent 022bf18200
commit 36a8f949d5
1 file changed
+2
+2
View File
@@ -170,6 +170,8 @@ gui_ogl_sink_create(const char *name, struct xrt_frame_context *xfctx, struct xr
glBindTexture(GL_TEXTURE_2D, 0);
xrt_frame_context_add(xfctx, &s->node);
*out_sink = &s->sink;
return &s->tex;