mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Tidy up handling of windowing data, make it a bit more type safe
This commit is contained in:
40 files changed
+268
-235
No files matched your search
@@ -144,7 +144,8 @@ void DisplayRendererPreview(IReplayController *renderer, TextureDisplay &display
|
||||
ShowWindow(wnd, SW_SHOW);
|
||||
UpdateWindow(wnd);
|
||||
|
||||
IReplayOutput *out = renderer->CreateOutput(WindowingSystem::Win32, wnd, ReplayOutputType::Texture);
|
||||
IReplayOutput *out =
|
||||
renderer->CreateOutput(CreateWin32WindowingData(wnd), ReplayOutputType::Texture);
|
||||
|
||||
out->SetTextureDisplay(displayCfg);
|
||||
|
||||
|
||||
Reference in new issue
Block a user