Skip to content

Commit

Permalink
Set default priority on PRIME detection vendor struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubonnek committed Dec 17, 2021
1 parent e937963 commit 1b8a9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/x11/detect_prime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typedef GLXContext (*GLXCREATECONTEXTATTRIBSARBPROC)(Display *, GLXFBConfig, GLX

struct vendor {
const char *glxvendor;
int priority;
int priority = 0;
};

vendor vendormap[] = {
Expand Down

0 comments on commit 1b8a9d5

Please sign in to comment.