Update messages if output window contexts fail to create

This commit is contained in:
baldurk
2017-01-17 18:59:27 +00:00
parent 8c91f5a808
commit 80e786427b
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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;
}
+2 -1
View File
@@ -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;
}