summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2022-05-03 16:31:58 +1000
committerTimothy Arceri <tarceri@itsqueeze.com>2022-05-04 10:51:13 +1000
commitb6c62e8d9cd0388c87a987c5e313abd269cd82a9 (patch)
tree14fee7cd8ced49f2e006ed5712c7dab13d6a3487
parent81157b4a3796bf7bf262cabbc43c93c960d62f21 (diff)
shader-db: fix compare of SSO ENABLE string
Looks like this has been broken from the day it was commited. I beleive this likely happened when Ken changed his original patchset to stop looking for the extension and instead look for this string. Reviewed-by: Emma Anholt <emma@anholt.net>
-rw-r--r--run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.c b/run.c
index cfac1e2..9ee4de0 100644
--- a/run.c
+++ b/run.c
@@ -174,7 +174,8 @@ get_shaders(const struct context_info *core, const struct context_info *compat,
shader_name, (int)(newline - extension_text), extension_text);
return NULL;
}
- if (memcmp(extension_text, sso_req, strlen(sso_req)) == 0) {
+
+ if (memcmp(newline, sso_req, strlen(sso_req)) == 0) {
*use_separate_shader_objects = true;
}
}