OpenGL restore state after xamlRenderer->Render()
Posted: 03 Dec 2015, 13:58
Hi there,
I am evaluating NsGUI at the moment for video application plugin GUI. The plugin runs inside the host application and I am given OpenGL 2.0 context to draw my HUD to. I've got NsGUI up on the screen fairly easy but it seems to mess up GL state that when I switch off HUD host's OpenGL context is damaged.
Does NsGUI preserve OpenGL state after the rendering? Do I need to set up specific flags to force it do so? What state if affected by NsGUI Render()?
Many thanks,
Dmitry Lavrov
I am evaluating NsGUI at the moment for video application plugin GUI. The plugin runs inside the host application and I am given OpenGL 2.0 context to draw my HUD to. I've got NsGUI up on the screen fairly easy but it seems to mess up GL state that when I switch off HUD host's OpenGL context is damaged.
Does NsGUI preserve OpenGL state after the rendering? Do I need to set up specific flags to force it do so? What state if affected by NsGUI Render()?
Many thanks,
Dmitry Lavrov