summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-01-10 13:12:40 +0000
committerEric Engestrom <[email protected]>2019-06-22 15:17:42 +0000
commit262b767023eea507352389064468d59b1957f24c (patch)
tree44a460ba622494bcfd5d730f2bfb598e54b4f04b
parent82487ede625bb621c63a088b4decfdefadbeb793 (diff)
egl: drop `_eglReturnFalse()` fallbacks
v2: drop them altogether, they should never get called in the first place (Emil) Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
-rw-r--r--src/egl/main/eglfallbacks.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c
index 336ca7aee2e..08ffab3072c 100644
--- a/src/egl/main/eglfallbacks.c
+++ b/src/egl/main/eglfallbacks.c
@@ -35,13 +35,6 @@
#include "eglsync.h"
-static EGLBoolean
-_eglReturnFalse(void)
-{
- return EGL_FALSE;
-}
-
-
/**
* Plug all the available fallback routines into the given driver's
* dispatch table.
@@ -53,29 +46,12 @@ _eglInitDriverFallbacks(_EGLDriver *drv)
drv->API.ChooseConfig = _eglChooseConfig;
drv->API.GetConfigAttrib = _eglGetConfigAttrib;
- drv->API.CreateContext = (void*) _eglReturnFalse;
- drv->API.DestroyContext = (void*) _eglReturnFalse;
- drv->API.MakeCurrent = (void*) _eglReturnFalse;
drv->API.QueryContext = _eglQueryContext;
- drv->API.CreateWindowSurface = (void*) _eglReturnFalse;
- drv->API.CreatePixmapSurface = (void*) _eglReturnFalse;
- drv->API.CreatePbufferSurface = (void*) _eglReturnFalse;
- drv->API.CreatePbufferFromClientBuffer =
- (void*) _eglReturnFalse;
- drv->API.DestroySurface = (void*) _eglReturnFalse;
drv->API.QuerySurface = _eglQuerySurface;
drv->API.SurfaceAttrib = _eglSurfaceAttrib;
- drv->API.BindTexImage = (void*) _eglReturnFalse;
- drv->API.ReleaseTexImage = (void*) _eglReturnFalse;
- drv->API.CopyBuffers = (void*) _eglReturnFalse;
- drv->API.SwapBuffers = (void*) _eglReturnFalse;
- drv->API.SetDamageRegion = (void*) _eglReturnFalse;
drv->API.SwapInterval = _eglSwapInterval;
- drv->API.WaitClient = (void*) _eglReturnFalse;
- drv->API.WaitNative = (void*) _eglReturnFalse;
-
drv->API.GetSyncAttrib = _eglGetSyncAttrib;
}