+#endif
+
+#else
+
+#if defined(TARGET_SDL)
+ swap_bitmap.surface = src_bitmap->surface;
+ src_bitmap->surface = tmp_bitmap->surface;
+ tmp_bitmap->surface = swap_bitmap.surface;
+#else
+ swap_bitmap.drawable = src_bitmap->drawable;
+ src_bitmap->drawable = tmp_bitmap->drawable;
+ tmp_bitmap->drawable = swap_bitmap.drawable;
+#endif
+