Re: [Mesa-dev] [PATCH] egl: Print the actual message to the console from _eglError().

2018-11-16 Thread Emil Velikov
On Fri, 16 Nov 2018 at 05:15, Eric Anholt wrote: > > Previously we would print errors on the console like: > >libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize > > When we had everything we needed for: > >libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in

[Mesa-dev] [PATCH] egl: Print the actual message to the console from _eglError().

2018-11-15 Thread Eric Anholt
Previously we would print errors on the console like: libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize When we had everything we needed for: libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize: DRI2: failed to find EGLDevice (for a gbm err