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:
baldurk
2019-07-02 19:15:36 +01:00
parent 69ca268f5f
commit 0766028724
+3 -1
View File
@@ -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)