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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user