egl: eglMakeCurrent should accept an uninitialized display.
authorChia-I Wu <olvaffe@gmail.com>
Wed, 27 Jan 2010 15:51:54 +0000 (23:51 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 28 Jan 2010 09:28:47 +0000 (17:28 +0800)
commit17330479b39409a63a06ec9e6b0f8e28b585db12
tree699ae386d4ed799d26b90caeb2566ce1ba072b0e
parent959481ad70b033a254f4d7d0a94dfdfab6b94c15
egl: eglMakeCurrent should accept an uninitialized display.

When no context or surface are given, the display is allowed to be
uninitialized.  Most drivers cannot handle an uninitialized display.
But they are updated to at least throw a fatal message.
src/egl/drivers/glx/egl_glx.c
src/egl/drivers/xdri/egl_xdri.c
src/egl/main/eglapi.c
src/egl/main/eglapi.h
src/egl/main/eglcontext.c
src/gallium/state_trackers/egl/common/egl_g3d.c