|
|
|
|
@ -124,6 +124,7 @@ bool WindowlessGlxApplication::tryCreateContext(const Configuration&) {
|
|
|
|
|
and HOPEFULLY THERE WON'T BE MORE WORKAROUNDS */ |
|
|
|
|
|| (glXMakeContextCurrent(_display, _pbuffer, _pbuffer, _glContext) && |
|
|
|
|
(vendorString = reinterpret_cast<const char*>(glGetString(GL_VENDOR)), |
|
|
|
|
!_context->isDriverWorkaroundDisabled("amd-nv-no-forward-compatible-core-context") && |
|
|
|
|
(std::strncmp(vendorString, nvidiaVendorString, sizeof(nvidiaVendorString)) == 0 || |
|
|
|
|
std::strncmp(vendorString, amdVendorString, sizeof(amdVendorString)) == 0))) |
|
|
|
|
#endif |
|
|
|
|
|