summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-01-10 13:07:29 +0000
committerEric Engestrom <[email protected]>2019-06-22 15:17:42 +0000
commit30ecd869471722db6cb693aaaa75120a4dfe7837 (patch)
tree2f24d62980ff3a073a7e7af95b208b0dd1cef501 /src/egl/main
parent64c7c05b71a7f15890fe75f6d8f5ac1a860808ec (diff)
egl: remove NULL assignments after calloc()
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglfallbacks.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c
index 2d4851f7578..bf667af1124 100644
--- a/src/egl/main/eglfallbacks.c
+++ b/src/egl/main/eglfallbacks.c
@@ -49,10 +49,6 @@ _eglReturnFalse(void)
void
_eglInitDriverFallbacks(_EGLDriver *drv)
{
- /* the driver has to implement these */
- drv->API.Initialize = NULL;
- drv->API.Terminate = NULL;
-
drv->API.GetConfigs = _eglGetConfigs;
drv->API.ChooseConfig = _eglChooseConfig;
drv->API.GetConfigAttrib = _eglGetConfigAttrib;
@@ -82,22 +78,5 @@ _eglInitDriverFallbacks(_EGLDriver *drv)
drv->API.WaitNative = (void*) _eglReturnFalse;
drv->API.GetProcAddress = (void*) _eglReturnFalse;
- drv->API.CreateImageKHR = NULL;
- drv->API.DestroyImageKHR = NULL;
-
- drv->API.CreateSyncKHR = NULL;
- drv->API.DestroySyncKHR = NULL;
- drv->API.ClientWaitSyncKHR = NULL;
- drv->API.WaitSyncKHR = NULL;
- drv->API.SignalSyncKHR = NULL;
drv->API.GetSyncAttrib = _eglGetSyncAttrib;
- drv->API.DupNativeFenceFDANDROID = NULL;
-
- drv->API.CreateDRMImageMESA = NULL;
- drv->API.ExportDRMImageMESA = NULL;
-
- drv->API.SwapBuffersRegionNOK = NULL;
-
- drv->API.ExportDMABUFImageQueryMESA = NULL;
- drv->API.ExportDMABUFImageMESA = NULL;
}