Start moving towards C++ only UI code. Assume C++ for the replay API

* The C# P/Invoke stuff doesn't directly use the header, and we are soon
  going to deprecate the C interface entirely.
This commit is contained in:
baldurk
2017-03-13 17:56:00 +00:00
parent 55565a148b
commit 487a1b7903
17 changed files with 196 additions and 277 deletions
+2 -2
View File
@@ -200,7 +200,7 @@ void VerifyVulkanLayer(int argc, char *argv[])
add_command("vulkanregister", new VulkanRegisterCommand());
}
void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay &displayCfg, uint32_t width,
void DisplayRendererPreview(IReplayRenderer *renderer, TextureDisplay &displayCfg, uint32_t width,
uint32_t height)
{
// we only have the preview implemented for platforms that have xlib & xcb. It's unlikely
@@ -279,7 +279,7 @@ void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay &displayCfg
xcb = true;
}
ReplayOutput *out = NULL;
IReplayOutput *out = NULL;
// prefer xcb
if(xcb)