[gnome-shell] [StTextureCache] Fix an accidentally swapped ref/unref
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [StTextureCache] Fix an accidentally swapped ref/unref
- Date: Thu, 11 Mar 2010 20:31:34 +0000 (UTC)
commit 46f8d913a1d9ae76b340b21d35aafb129541e7cb
Author: Florian Müllner <fmuellner src gnome org>
Date: Thu Mar 11 21:40:42 2010 +0100
[StTextureCache] Fix an accidentally swapped ref/unref
src/st/st-texture-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index b1e3723..ad62011 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -865,7 +865,7 @@ st_texture_cache_load (StTextureCache *cache,
else
return COGL_INVALID_HANDLE;
}
- cogl_handle_unref (texture);
+ cogl_handle_ref (texture);
return texture;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]