[StTextureCache] Fix an accidentally swapped ref/unref

This commit is contained in:
Florian Müllner 2010-03-11 21:40:42 +01:00
parent 858a6bf827
commit 46f8d913a1

View File

@ -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;
} }