mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-09 01:00:51 +00:00
3ca65bd632
* This is a concession towards non-core capturing, as it's fairly easy to support this fallback case without having a negative effect on the proper path. * We serialise out whether an index buffer was bound, and if it wasn't we serialise the array passed as a parameter, and upload it into a temporary index buffer we generate (so that the replay is correct at least). * I think technically the indirect parameter for glDrawElementsIndirect can point to client memory, and the elements array-of-arrays in glMultiDrawElements can definitely point to client memory, but I'm assuming that no-one would do that. I certainly hope they wouldn't!