Mesa (master): st/egl: fix a typo
Chia-I Wu
olv at kemper.freedesktop.org
Fri Jul 1 09:29:15 UTC 2011
Module: Mesa
Branch: master
Commit: bf04d9eebfd117ad3b9c095b990183614d4f5f09
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf04d9eebfd117ad3b9c095b990183614d4f5f09
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jul 1 18:13:38 2011 +0900
st/egl: fix a typo
Wrong goto labels.
---
.../state_trackers/egl/common/native_helper.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/egl/common/native_helper.c b/src/gallium/state_trackers/egl/common/native_helper.c
index 6f2097c..cca1e1c 100644
--- a/src/gallium/state_trackers/egl/common/native_helper.c
+++ b/src/gallium/state_trackers/egl/common/native_helper.c
@@ -282,9 +282,9 @@ resource_surface_copy_swap(struct resource_surface *rsurf,
btex, 0, &src_box);
ret = TRUE;
- out_no_ftex:
- pipe_resource_reference(&btex, NULL);
out_no_btex:
+ pipe_resource_reference(&btex, NULL);
+ out_no_ftex:
pipe_resource_reference(&ftex, NULL);
return ret;
More information about the mesa-commit
mailing list