Skip to content

Make GPUDrivers save / restore client state non-destructively #35

@adamjs

Description

@adamjs

In the OpenGL driver at least, we modify several states (such as glUseProgram()) that modify the current GL state after GPUDriver::DrawGeometry() returns.

We should save / restore any modified GPU state for easier integration with existing GPU code.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions