diff options
Diffstat (limited to 'src/egl/main')
-rw-r--r-- | src/egl/main/eglimage.c | 9 | ||||
-rw-r--r-- | src/egl/main/eglimage.h | 7 |
2 files changed, 5 insertions, 11 deletions
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c index c558f2f02b0..7587a4be4a3 100644 --- a/src/egl/main/eglimage.c +++ b/src/egl/main/eglimage.c @@ -245,12 +245,3 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, return err; } - - -EGLBoolean -_eglInitImage(_EGLImage *img, _EGLDisplay *dpy) -{ - _eglInitResource(&img->Resource, sizeof(*img), dpy); - - return EGL_TRUE; -} diff --git a/src/egl/main/eglimage.h b/src/egl/main/eglimage.h index eb66280ff96..eef98604e7a 100644 --- a/src/egl/main/eglimage.h +++ b/src/egl/main/eglimage.h @@ -96,8 +96,11 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, const EGLint *attrib_list); -extern EGLBoolean -_eglInitImage(_EGLImage *img, _EGLDisplay *dpy); +static inline void +_eglInitImage(_EGLImage *img, _EGLDisplay *dpy) +{ + _eglInitResource(&img->Resource, sizeof(*img), dpy); +} /** |