mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Update messages if output window contexts fail to create
This commit is contained in:
@@ -165,7 +165,8 @@ uint64_t GLReplay::MakeOutputWindow(WindowingSystem system, void *data, bool dep
|
||||
if(ctx == NULL)
|
||||
{
|
||||
XCloseDisplay(dpy);
|
||||
RDCERR("Couldn't create 4.3 context - RenderDoc requires OpenGL 4.3 availability");
|
||||
RDCERR("Couldn't create %d.%d context - something changed since creation", GLCoreVersion / 10,
|
||||
GLCoreVersion % 10);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -181,7 +181,8 @@ uint64_t GLReplay::MakeOutputWindow(WindowingSystem system, void *data, bool dep
|
||||
if(rc == NULL)
|
||||
{
|
||||
ReleaseDC(w, DC);
|
||||
RDCERR("Couldn't create 4.3 RC - RenderDoc requires OpenGL 4.3 availability");
|
||||
RDCERR("Couldn't create %d.%d context - something changed since creation", GLCoreVersion / 10,
|
||||
GLCoreVersion % 10);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user