mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Remove declarations for C interface from renderdoc_replay.h header
* The functions are still exported and that's all renderdocui cares for. * The interface is no longer to be used so gets in the way of the generated SWIG bindings.
This commit is contained in:
@@ -249,10 +249,9 @@ void DisplayRendererPreview(IReplayRenderer *renderer, TextureDisplay &displayCf
|
||||
ShowWindow(wnd, SW_SHOW);
|
||||
UpdateWindow(wnd);
|
||||
|
||||
IReplayOutput *out =
|
||||
ReplayRenderer_CreateOutput(renderer, WindowingSystem::Win32, wnd, ReplayOutputType::Texture);
|
||||
IReplayOutput *out = renderer->CreateOutput(WindowingSystem::Win32, wnd, ReplayOutputType::Texture);
|
||||
|
||||
ReplayOutput_SetTextureDisplay(out, displayCfg);
|
||||
out->SetTextureDisplay(displayCfg);
|
||||
|
||||
MSG msg;
|
||||
ZeroMemory(&msg, sizeof(msg));
|
||||
@@ -271,8 +270,8 @@ void DisplayRendererPreview(IReplayRenderer *renderer, TextureDisplay &displayCf
|
||||
break;
|
||||
|
||||
// set to random event beyond the end of the frame to ensure output is marked as dirty
|
||||
ReplayRenderer_SetFrameEvent(renderer, 10000000, true);
|
||||
ReplayOutput_Display(out);
|
||||
renderer->SetFrameEvent(10000000, true);
|
||||
out->Display();
|
||||
|
||||
Sleep(40);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user