projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b0e71
)
st/egl: fix a typo
author
Chia-I Wu
<olvaffe@gmail.com>
Fri, 1 Jul 2011 09:13:38 +0000
(18:13 +0900)
committer
Chia-I Wu
<olv@lunarg.com>
Fri, 1 Jul 2011 09:28:46 +0000
(18:28 +0900)
Wrong goto labels.
src/gallium/state_trackers/egl/common/native_helper.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/egl/common/native_helper.c
b/src/gallium/state_trackers/egl/common/native_helper.c
index 6f2097c61a6c7de64bf6740bf197b1e349af88a2..cca1e1c62954ec2da7b40f095b3ca7cb88edc36f 100644
(file)
--- 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;