mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-22 13:30:25 +01:00
gl: Fix typo in gles2 shader cache lookup
When comparing shader cache entries, it's important that we actually compare the variable type hash.
This commit is contained in:
parent
ff233fd706
commit
ed6a293e3d
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ _cairo_gl_shader_cache_equal_gles2 (const void *key_a, const void *key_b)
|
|||
cairo_bool_t both_have_npot_repeat =
|
||||
a->ctx->has_npot_repeat && b->ctx->has_npot_repeat;
|
||||
|
||||
return (a->vertex && b->vertex &&
|
||||
return (a->vertex == b->vertex &&
|
||||
a->src == b->src &&
|
||||
a->mask == b->mask &&
|
||||
a->dest == b->dest &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue