[client] egl: better debug output for EGL errors

This commit is contained in:
Geoffrey McRae
2021-01-24 13:17:11 +11:00
parent 88b15cb3fe
commit 202739c5be
6 changed files with 62 additions and 72 deletions

View File

@@ -651,9 +651,9 @@ bool egl_render_startup(void * opaque, SDL_Window * window)
*
* ref: https://forums.developer.nvidia.com/t/egl-ext-image-dma-buf-import-broken-egl-bad-alloc-with-tons-of-free-ram/165552
*/
if (strstr(vendor, "NVIDIA") != NULL)
DEBUG_WARN("NVIDIA driver detected, ignoring broken DMA support");
else
// if (strstr(vendor, "NVIDIA") != NULL)
// DEBUG_WARN("NVIDIA driver detected, ignoring broken DMA support");
// else
this->dmaSupport = true;
}
}