Skip to content

Commit 2a5114f

Browse files
authored
Merge pull request #132 from cyqw/master
Support 32-bit RGB image rendering in android_nativewindow
2 parents 2ca035e + 1dfe20b commit 2a5114f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

ijkmedia/ijksdl/android/android_nativewindow.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ static int android_render_on_yv12(ANativeWindow_Buffer *out_buffer, const SDL_Vo
9999
static int android_render_rgb_on_rgb(ANativeWindow_Buffer *out_buffer, const SDL_VoutOverlay *overlay, int bpp)
100100
{
101101
// SDLTRACE("SDL_VoutAndroid: android_render_rgb_on_rgb(%p)", overlay);
102-
assert(overlay->format == SDL_FCC_RV16);
103102
assert(overlay->planes == 1);
104103

105104
int min_height = IJKMIN(out_buffer->height, overlay->h);

0 commit comments

Comments
 (0)