diff options
author | Danylo Piliaiev <[email protected]> | 2020-01-29 14:34:50 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-04 15:41:05 +0000 |
commit | 36126b6211f1ac2da0aa94411608b2320553dbb6 (patch) | |
tree | 333197841d169ffd1e7f7e1fae9a08630378bf25 /src/util | |
parent | 9afdcd64f2c96f3fcc1a28912987f2e8066aa995 (diff) |
i965: Do not set front_buffer_dirty if there is no front buffer
Otherwise there will be a warning:
"libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering."
Happens with EGL_KHR_surfaceless_context:
eglMakeCurrent(egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, egl_context)
eglMakeCurrent(egl_display, egl_surface, egl_surface, egl_context)
glFlush() // Here will be a warning
Cc: <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1525
Signed-off-by: Danylo Piliaiev <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3628>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3628>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions