view android/project/jni/Android.mk @ 4898:164bee619400

XDamageDestroy is called before use_damage is tested. This crashes on my setup. The patch calls XDamageDestroy only when use_damage is true. Kind regards, André
author Sam Lantinga <slouken@libsdl.org>
date Mon, 27 Sep 2010 00:49:56 -0700
parents 9076cdb027af
children
line wrap: on
line source

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := sdlapp
SDL := ../../../

LOCAL_CFLAGS := -DANDROID_NDK \
                -DDISABLE_IMPORTGL \
                -I$(SDL)/include

LOCAL_SRC_FILES := \
    android-support.cpp \
    lesson05.c \

LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lSDL -lgcc -L$(SDL)

include $(BUILD_SHARED_LIBRARY)