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:
baldurk
2017-03-29 17:59:47 +01:00
parent 455ac56d5b
commit bd199ca8e6
6 changed files with 19 additions and 228 deletions
+4 -5
View File
@@ -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);
}