mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Add API differentiating string to in-program overlay
This commit is contained in:
@@ -2953,7 +2953,7 @@ HRESULT WrappedID3D11Device::Present(IDXGISwapChain *swap, UINT SyncInterval, UI
|
||||
{
|
||||
vector<KeyButton> keys = RenderDoc::Inst().GetCaptureKeys();
|
||||
|
||||
string overlayText = "";
|
||||
string overlayText = "D3D11. ";
|
||||
|
||||
for(size_t i=0; i < keys.size(); i++)
|
||||
{
|
||||
|
||||
@@ -954,7 +954,7 @@ void WrappedOpenGL::Present(void *windowHandle)
|
||||
{
|
||||
vector<KeyButton> keys = RenderDoc::Inst().GetCaptureKeys();
|
||||
|
||||
string overlayText = "";
|
||||
string overlayText = "OpenGL. ";
|
||||
|
||||
for(size_t i=0; i < keys.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user