aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.h
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-02 11:38:45 +0000
committerEric Engestrom <[email protected]>2019-02-06 11:53:24 +0000
commit54fa5eceae237598d6fb329ec7cbe1d3a85e7d39 (patch)
tree870badc295851feaba8cf7e43318ed9542a7c0a7 /src/egl/main/egldriver.h
parenta81d5587d6ad20506c13199a1f4573fdf6350709 (diff)
egl: use coherent variable names
`EGLDisplay` variables (the opaque Khronos type) have mostly been consistently called `dpy`, as this is the name used in the Khronos specs. However, `_EGLDisplay` variables (our internal struct) have been randomly called `dpy` when there was no local variable clash with `EGLDisplay`s, and `disp` otherwise. Let's be consistent and use `dpy` for the Khronos type, and `disp` for our struct. Signed-off-by: Eric Engestrom <[email protected]> Acked-by: Emil Velikov <[email protected]> Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/egl/main/egldriver.h')
-rw-r--r--src/egl/main/egldriver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index 5695fc06ffb..59bc894e519 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -84,7 +84,7 @@ _eglInitDriver(_EGLDriver *driver);
extern _EGLDriver *
-_eglMatchDriver(_EGLDisplay *dpy);
+_eglMatchDriver(_EGLDisplay *disp);
extern __eglMustCastToProperFunctionPointerType