projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3aa7b2
)
egl: replace _EGLDriver with _EGLDisplay->Driver in _eglQuerySurface()
author
Eric Engestrom
<eric@engestrom.ch>
Sun, 22 Apr 2018 14:48:15 +0000
(16:48 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Sun, 16 Aug 2020 13:49:17 +0000
(13:49 +0000)
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6241>
src/egl/main/eglsurface.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglsurface.c
b/src/egl/main/eglsurface.c
index f70cbefa5e205919708ef4478d1ad3738178d086..d75af7a87911da4ef3e061e55b9c6386a00e3b46 100644
(file)
--- a/
src/egl/main/eglsurface.c
+++ b/
src/egl/main/eglsurface.c
@@
-534,6
+534,7
@@
_eglQuerySurface(const _EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surface,
return _eglError(EGL_BAD_ATTRIBUTE, "eglQuerySurface");
_EGLContext *ctx = _eglGetCurrentContext();
+ const _EGLDriver *drv = disp->Driver;
EGLint result = drv->QueryBufferAge(drv, disp, surface);
/* error happened */
if (result < 0)