diff options
author | Chia-I Wu <[email protected]> | 2010-01-31 13:33:57 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-31 14:46:14 +0800 |
commit | d69242be55091e53b0ae2cfa6282790ce1862f29 (patch) | |
tree | 84ac6ceb40d6893d6a69b9ad7fef47677416772b /src/egl/main/eglsurface.h | |
parent | e694ccad803157b71b2de78d63ee6dacc489faab (diff) |
egl: Initialize display resources with their display.
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an
_EGLDisplay instead of an _EGLDriver. This is a more natural form, and
plus, the display encodes information such as the extensions supported
that might be required for attribute list parsing.
Diffstat (limited to 'src/egl/main/eglsurface.h')
-rw-r--r-- | src/egl/main/eglsurface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglsurface.h b/src/egl/main/eglsurface.h index 0d64d20dd42..f054cb46d1a 100644 --- a/src/egl/main/eglsurface.h +++ b/src/egl/main/eglsurface.h @@ -40,7 +40,7 @@ struct _egl_surface PUBLIC EGLBoolean -_eglInitSurface(_EGLDriver *drv, _EGLSurface *surf, EGLint type, +_eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type, _EGLConfig *config, const EGLint *attrib_list); |