egl/dri2: glFlush is not optional, treat it as such
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 16 Aug 2016 13:25:19 +0000 (14:25 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:16:00 +0000 (12:16 +0100)
commitb349c11098ed9511510bd2e20e12ab52fe927508
treecee50a927fcefa9d32e03d0ef67d4d146e79ec46
parent13bf390657921b7c07d2de320ff0aa43206cce11
egl/dri2: glFlush is not optional, treat it as such

The documentation is clear - one must glFlush the old context on
eglMakeCurrent. Thus keeping it optional is not something we should be
doing. Furthermore if we cannot get the entry point we're likely having
a broken setup/stack.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/egl_dri2.c