I don't know, we are not using it. If you want to use it instead of restoring manually each state, then you need to figure it out why it is not working, that is a specific GL question. But, we don't recommend using those kind of functions for saving or restoring the state because they are slow or at least they are not fast or supported in all our platforms.
RenderOffscreen may change the active framebuffer and viewport, you should restore it after calling that function. This is the main reason it is recommended to call that function before binding your main framebuffer. Binding and unbinding the same render target several times in the same frame is not very efficient.
Who is online
Users browsing this forum: No registered users and 4 guests