Remove unnecessary assert
This commit is contained in:
parent
8b13e5b47e
commit
4b83b022d3
1 changed files with 1 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ ssize_t DrmRenderer::exportEGLImages(AVFrame *frame, EGLDisplay dpy,
|
||||||
|
|
||||||
memset(images, 0, sizeof(EGLImage) * EGL_MAX_PLANES);
|
memset(images, 0, sizeof(EGLImage) * EGL_MAX_PLANES);
|
||||||
|
|
||||||
SDL_assert(drmFrame->nb_objects == 1);
|
// DRM requires composed layers rather than separate layers per plane
|
||||||
SDL_assert(drmFrame->nb_layers == 1);
|
SDL_assert(drmFrame->nb_layers == 1);
|
||||||
|
|
||||||
// Max 30 attributes (1 key + 1 value for each)
|
// Max 30 attributes (1 key + 1 value for each)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue