Преглед изворни кода

Set default priority on PRIME detection vendor struct.

Wilson E. Alvarez пре 3 година
родитељ
комит
1b8a9d56b3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      platform/x11/detect_prime.cpp

+ 1 - 1
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[] = {