Tidy up handling of windowing data, make it a bit more type safe

This commit is contained in:
baldurk committed 2018-01-01 17:31:19 +00:00
1 parent b8bd99a24a
commit 6572cd97f5
40 files changed
+268 -235

No files matched your search

+2 -1
View File
@@ -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);