Просмотр исходного кода

Set default priority on PRIME detection vendor struct.

Wilson E. Alvarez 3 лет назад
Родитель
Сommit
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[] = {