st/egl: fix a typo
authorChia-I Wu <olvaffe@gmail.com>
Fri, 1 Jul 2011 09:13:38 +0000 (18:13 +0900)
committerChia-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

index 6f2097c61a6c7de64bf6740bf197b1e349af88a2..cca1e1c62954ec2da7b40f095b3ca7cb88edc36f 100644 (file)
@@ -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;