diff options
author | Emil Velikov <[email protected]> | 2017-06-20 15:22:39 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-06-26 12:40:22 +0100 |
commit | d42b09580a5270e8906dad4b923f320d1de18167 (patch) | |
tree | 9f333a6b2c2a875e6da62ba1fed1896d82440671 /src/egl/main/eglimage.c | |
parent | 860919a3b237386cba5b2951ae520bf6734fd17e (diff) |
egl: drop _eglInitImage() return type
Function cannot fail and always returns true.
v2: Inline the one line function in the header
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/main/eglimage.c')
-rw-r--r-- | src/egl/main/eglimage.c | 9 |
1 files changed, 0 insertions, 9 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; -} |