don't forget to update VS project

This commit is contained in:
UnknownShadow200 2021-07-16 23:08:52 +10:00
parent f7ffad8ee3
commit 78cc5b708c
4 changed files with 2 additions and 5 deletions

View File

@ -120,6 +120,7 @@ SDK_ROOT="/home/buildbot/android/sdk/platforms/android-26"
build_android() {
echo "Building android.."
rm cc.apk cc-droid-arm_16 cc-droid-arm_32 cc-droid-arm_64 cc-droid-x86_32 cc-droid-x86_64
$NDK_ROOT/armv7a-linux-androideabi16-clang *.c $DROID_FLAGS -march=armv5 $DROID_LIBS -DCC_COMMIT_SHA=\"$LATEST\" -o cc-droid-arm_16
$NDK_ROOT/armv7a-linux-androideabi16-clang *.c $DROID_FLAGS $DROID_LIBS -DCC_COMMIT_SHA=\"$LATEST\" -o cc-droid-arm_32
$NDK_ROOT/aarch64-linux-android21-clang *.c $DROID_FLAGS $DROID_LIBS -DCC_COMMIT_SHA=\"$LATEST\" -o cc-droid-arm_64

View File

@ -317,7 +317,6 @@
<ClCompile Include="Vorbis.c" />
<ClCompile Include="Widgets.c" />
<ClCompile Include="Logger.c" />
<ClCompile Include="Window.c" />
<ClCompile Include="Window_Android.c" />
<ClCompile Include="Window_Carbon.c" />
<ClCompile Include="Window_SDL.c" />

View File

@ -503,9 +503,6 @@
<ClCompile Include="_truetype.c">
<Filter>Source Files\Freetype</Filter>
</ClCompile>
<ClCompile Include="Window.c">
<Filter>Source Files\Platform</Filter>
</ClCompile>
<ClCompile Include="Launcher.c">
<Filter>Source Files\Launcher</Filter>
</ClCompile>

View File

@ -5,6 +5,7 @@
#include "Funcs.h"
#include "Bitmap.h"
#include "Errors.h"
#include "Graphics.h"
#include <android/native_window.h>
#include <android/native_window_jni.h>
#include <android/keycodes.h>
@ -126,7 +127,6 @@ static void JNICALL java_processSurfaceCreated(JNIEnv* env, jobject o, jobject s
Event_RaiseVoid(&WindowEvents.Created);
}
#include "Graphics.h"
static void JNICALL java_processSurfaceDestroyed(JNIEnv* env, jobject o) {
Platform_LogConst("WIN - DESTROYED");
if (win_handle) ANativeWindow_release(win_handle);