cogl/sampler-cache: Initialize variable
It's apparently harmless. Coverity CID: #1511379 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4175>
This commit is contained in:
parent
f4201bc3d3
commit
c6ecaf01c2
@ -222,7 +222,7 @@ _cogl_sampler_cache_get_entry_cogl (CoglSamplerCache *cache,
|
||||
const CoglSamplerCacheEntry *
|
||||
_cogl_sampler_cache_get_default_entry (CoglSamplerCache *cache)
|
||||
{
|
||||
CoglSamplerCacheEntry key;
|
||||
CoglSamplerCacheEntry key = { 0, };
|
||||
|
||||
key.wrap_mode_s = COGL_SAMPLER_CACHE_WRAP_MODE_AUTOMATIC;
|
||||
key.wrap_mode_t = COGL_SAMPLER_CACHE_WRAP_MODE_AUTOMATIC;
|
||||
|
Loading…
x
Reference in New Issue
Block a user