[StTextureCache] Fix an accidentally swapped ref/unref
This commit is contained in:
parent
858a6bf827
commit
46f8d913a1
@ -865,7 +865,7 @@ st_texture_cache_load (StTextureCache *cache,
|
|||||||
else
|
else
|
||||||
return COGL_INVALID_HANDLE;
|
return COGL_INVALID_HANDLE;
|
||||||
}
|
}
|
||||||
cogl_handle_unref (texture);
|
cogl_handle_ref (texture);
|
||||||
return texture;
|
return texture;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user