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 committed 2017-04-18 14:57:36 +01:00
1 parent 455ac56d5b
commit bd199ca8e6
6 files changed
+19 -228

No files matched your search

+5 -5
View File
@@ -53,17 +53,17 @@ void DisplayRendererPreview(IReplayRenderer *renderer, TextureDisplay &displayCf
{
ANativeWindow *connectionScreenWindow = android_state->window;
IReplayOutput *out = ReplayRenderer_CreateOutput(
renderer, WindowingSystem::Android, connectionScreenWindow, ReplayOutputType::Texture);
IReplayOutput *out = renderer->CreateOutput(WindowingSystem::Android, connectionScreenWindow,
ReplayOutputType::Texture);
ReplayOutput_SetTextureDisplay(out, displayCfg);
out->SetTextureDisplay(displayCfg);
for(int i = 0; i < 100; i++)
{
ReplayRenderer_SetFrameEvent(renderer, 10000000, true);
renderer->SetFrameEvent(10000000, true);
__android_log_print(ANDROID_LOG_INFO, LOGCAT_TAG, "Frame %i", i);
ReplayOutput_Display(out);
out->Display();
usleep(100000);
}