From 1b8a9d56b338306f7244e2b02cdc0b3b7af64ef3 Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Fri, 17 Dec 2021 15:09:25 -0500 Subject: [PATCH] Set default priority on PRIME detection vendor struct. --- platform/x11/detect_prime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/detect_prime.cpp b/platform/x11/detect_prime.cpp index 7d9a4be28fcd..46ef2962f1db 100644 --- a/platform/x11/detect_prime.cpp +++ b/platform/x11/detect_prime.cpp @@ -56,7 +56,7 @@ typedef GLXContext (*GLXCREATECONTEXTATTRIBSARBPROC)(Display *, GLXFBConfig, GLX struct vendor { const char *glxvendor; - int priority; + int priority = 0; }; vendor vendormap[] = {