Skip to content

Commit

Permalink
Fix Android OpenGL video code compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Feb 27, 2025
1 parent 18e601f commit 9b7b96d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/system/android/sources/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool kore_internal_video_sound_stream_ended(kore_internal_video_sound_stream *st
#if KORE_ANDROID_API >= 15 && !defined(KORE_VULKAN)

#define videosCount 10
static kore_video_t *videos[videosCount] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
static kore_video *videos[videosCount] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};

#define NB_MAXAL_INTERFACES 3 // XAAndroidBufferQueueItf, XAStreamInformationItf and XAPlayItf
#define NB_BUFFERS 8
Expand Down Expand Up @@ -501,7 +501,7 @@ void kore_video_init(kore_video *video, const char *filename) {

(*kore_android_get_activity()->vm)->DetachCurrentThread(kore_android_get_activity()->vm);

kore_g4_texture_init_from_id(&video->impl.image, texid);
// kore_g4_texture_init_from_id(&video->impl.image, texid); // TODO
#endif
}

Expand Down

0 comments on commit 9b7b96d

Please sign in to comment.