Commit aadeaaa8 authored by Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer
Browse files

opengl: avoid image flickering

parent 85886f32
......@@ -163,11 +163,9 @@ void ogl_display_set_yuv_to_display(struct opengles_display* gldisp, mblk_t *yuv
void ogl_display_render(struct opengles_display* gldisp) {
if (!gldisp->yuv)
if (!gldisp->glResourcesInitialized)
if (!gldisp->yuv || !gldisp->glResourcesInitialized) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment