diff options
author | Timothy Arceri <tarceri@itsqueeze.com> | 2022-05-03 16:31:58 +1000 |
---|---|---|
committer | Timothy Arceri <tarceri@itsqueeze.com> | 2022-05-04 10:51:13 +1000 |
commit | b6c62e8d9cd0388c87a987c5e313abd269cd82a9 (patch) | |
tree | 14fee7cd8ced49f2e006ed5712c7dab13d6a3487 | |
parent | 81157b4a3796bf7bf262cabbc43c93c960d62f21 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } } |