Hello. I am using Mesa with EGL platform FBDEV. In this setup the native_window is always NULL. It worked good, but after update to new version of Mesa it shows error in creating EGLsurface.
I tracked it down to commit 91ff0d4c6510dc38f279c586ced17fba917873e7 egl: Check for NULL native_window in eglCreateWindowSurface where this is added: @@ -571,6 +571,10 @@ _eglCreateWindowSurfaceCommon(_EGLDisplay *disp, EGLConfig config, EGLSurface ret; _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); + + if (native_window == NULL) + RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); + So when native_window is NULL it returns error. I commented that if out. then my rotating cube works again. Is the EGL FBDEV platform supported? How should the change be to work with NULL native_window in fbdev. Thanks. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev