mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 23:46:41 +00:00
Change wording of non-core context GL overlay warning
* Technically if you create a context with *CreateContextAttribsARB and don't specify a profile mask at all, the spec says the value of the profile bit is CORE_PROFILE_BIT. In practice this means drivers may or may not give you a core or compatibility profile. * However what we're really looking for here is the chance that the user code will use only modern GL or will use deprecated functionality, and in that case the high likelihood is if they omit the PROFILE_BIT entirely they are probably unaware of it, rather than letting it set its default value.
This commit is contained in:
@@ -1762,7 +1762,9 @@ void WrappedOpenGL::SwapBuffers(void *windowHandle)
|
||||
}
|
||||
else if(!ctxdata.isCore)
|
||||
{
|
||||
overlayText += "WARNING: Non-core context in use. Compatibility profile not supported.\n";
|
||||
overlayText +=
|
||||
"WARNING: Core profile not explicitly requested. Compatibility profile is not "
|
||||
"supported.\n";
|
||||
}
|
||||
|
||||
if(activeWindow && m_FailedFrame > 0)
|
||||
|
||||
Reference in New Issue
Block a user