diff options
author | Eric Engestrom <[email protected]> | 2017-09-25 22:39:24 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-10-12 14:40:12 +0100 |
commit | 4a6c7e8ad84263291f0fe3df2a6f4ddc8cced773 (patch) | |
tree | 489b4793cb7fcc42b5f564dfc1680f6aeb2a9c78 /src/egl/main/eglfallbacks.c | |
parent | 9690759d0ccadd9527dee892eedc2f9d4baadf59 (diff) |
egl: drop memset(0) of calloc'ed memory
`_EGLDriver *drv` is a freshly calloc()'ed object, memset(0)'ing some of
it is a no-op.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/eglfallbacks.c')
-rw-r--r-- | src/egl/main/eglfallbacks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c index 1575ab5f793..2d4851f7578 100644 --- a/src/egl/main/eglfallbacks.c +++ b/src/egl/main/eglfallbacks.c @@ -49,8 +49,6 @@ _eglReturnFalse(void) void _eglInitDriverFallbacks(_EGLDriver *drv) { - memset(&drv->API, 0, sizeof(drv->API)); - /* the driver has to implement these */ drv->API.Initialize = NULL; drv->API.Terminate = NULL; |