mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-20 12:47:11 +00:00
Update messages if output window contexts fail to create
This commit is contained in:
1 parent
8c91f5a808
commit
80e786427b
2 files changed
+4
-2
No files matched your search
@@ -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