mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Pass screen index (so you can guess 0), fix Qt to display
This commit is contained in:
@@ -97,9 +97,9 @@ void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay displayCfg)
|
||||
|
||||
xcb_map_window(connection, window);
|
||||
|
||||
void *displayAndDrawable[] = { (void *)connection, (void *)screen, (void *)(size_t)window };
|
||||
void *connectionScreenWindow[] = { (void *)connection, (void *)(uintptr_t)scr, (void *)(uintptr_t)window };
|
||||
|
||||
ReplayOutput *out = ReplayRenderer_CreateOutput(renderer, displayAndDrawable);
|
||||
ReplayOutput *out = ReplayRenderer_CreateOutput(renderer, connectionScreenWindow);
|
||||
|
||||
OutputConfig c = { eOutputType_TexDisplay };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user