diff --git a/internal/graphicsdriver/opengl/gl/package_x.go b/internal/graphicsdriver/opengl/gl/package_x.go index 26c2a9c97..f941f2625 100644 --- a/internal/graphicsdriver/opengl/gl/package_x.go +++ b/internal/graphicsdriver/opengl/gl/package_x.go @@ -14,6 +14,9 @@ package gl // queryString = (PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) // glXGetProcAddressARB((const GLubyte *)"glXQueryCurrentRendererStringMESA"); // } +// if (!queryString) { +// return ""; +// } // // static const char* rendererDevice; // if (!rendererDevice) {