annotate android/project/res/layout/main.xml @ 4897:c3eb55210a90
SDL_DestroyWindow is setting window->magic to NULL too early. -
window->magic is also checked in SDL_DestroyRenderer. All cleanup code
like freeing the renderer and textures is not executed.
The patch moves window_magic = NULL behind the SDL_DestroyRenderer call.
Kind regards,
André
author |
Sam Lantinga <slouken@libsdl.org> |
date |
Mon, 27 Sep 2010 00:49:34 -0700 |
parents |
9076cdb027af |
children |
|
rev |
line source |
4726
|
1 <?xml version="1.0" encoding="utf-8"?>
|
|
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3 android:orientation="vertical"
|
|
4 android:layout_width="fill_parent"
|
|
5 android:layout_height="fill_parent"
|
|
6 >
|
|
7 <TextView
|
|
8 android:layout_width="fill_parent"
|
|
9 android:layout_height="wrap_content"
|
|
10 android:text="Hello World, SDLActivity"
|
|
11 />
|
|
12 </LinearLayout>
|
|
13
|