diff options
author | Marek Olšák <[email protected]> | 2016-03-03 14:21:49 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-03-10 18:03:14 +0100 |
commit | 7b29188a3fd26f5bab484c0e5955e0cf68244f3a (patch) | |
tree | c53e32e05305d6d857ad1d16efc96ef490357c1e /src/egl/main/eglfallbacks.c | |
parent | 3e3de9ec0a2c5d6ffac65a4b66022b3e41d7b019 (diff) |
egl: clean up typedef madness in the backend API
let's use the dd.h format
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/eglfallbacks.c')
-rw-r--r-- | src/egl/main/eglfallbacks.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c index 65daf8fd0f5..d0fce8c20de 100644 --- a/src/egl/main/eglfallbacks.c +++ b/src/egl/main/eglfallbacks.c @@ -59,29 +59,29 @@ _eglInitDriverFallbacks(_EGLDriver *drv) drv->API.ChooseConfig = _eglChooseConfig; drv->API.GetConfigAttrib = _eglGetConfigAttrib; - drv->API.CreateContext = (CreateContext_t) _eglReturnFalse; - drv->API.DestroyContext = (DestroyContext_t) _eglReturnFalse; - drv->API.MakeCurrent = (MakeCurrent_t) _eglReturnFalse; + drv->API.CreateContext = (void*) _eglReturnFalse; + drv->API.DestroyContext = (void*) _eglReturnFalse; + drv->API.MakeCurrent = (void*) _eglReturnFalse; drv->API.QueryContext = _eglQueryContext; - drv->API.CreateWindowSurface = (CreateWindowSurface_t) _eglReturnFalse; - drv->API.CreatePixmapSurface = (CreatePixmapSurface_t) _eglReturnFalse; - drv->API.CreatePbufferSurface = (CreatePbufferSurface_t) _eglReturnFalse; + drv->API.CreateWindowSurface = (void*) _eglReturnFalse; + drv->API.CreatePixmapSurface = (void*) _eglReturnFalse; + drv->API.CreatePbufferSurface = (void*) _eglReturnFalse; drv->API.CreatePbufferFromClientBuffer = - (CreatePbufferFromClientBuffer_t) _eglReturnFalse; - drv->API.DestroySurface = (DestroySurface_t) _eglReturnFalse; + (void*) _eglReturnFalse; + drv->API.DestroySurface = (void*) _eglReturnFalse; drv->API.QuerySurface = _eglQuerySurface; drv->API.SurfaceAttrib = _eglSurfaceAttrib; - drv->API.BindTexImage = (BindTexImage_t) _eglReturnFalse; - drv->API.ReleaseTexImage = (ReleaseTexImage_t) _eglReturnFalse; - drv->API.CopyBuffers = (CopyBuffers_t) _eglReturnFalse; - drv->API.SwapBuffers = (SwapBuffers_t) _eglReturnFalse; + drv->API.BindTexImage = (void*) _eglReturnFalse; + drv->API.ReleaseTexImage = (void*) _eglReturnFalse; + drv->API.CopyBuffers = (void*) _eglReturnFalse; + drv->API.SwapBuffers = (void*) _eglReturnFalse; drv->API.SwapInterval = _eglSwapInterval; - drv->API.WaitClient = (WaitClient_t) _eglReturnFalse; - drv->API.WaitNative = (WaitNative_t) _eglReturnFalse; - drv->API.GetProcAddress = (GetProcAddress_t) _eglReturnFalse; + drv->API.WaitClient = (void*) _eglReturnFalse; + drv->API.WaitNative = (void*) _eglReturnFalse; + drv->API.GetProcAddress = (void*) _eglReturnFalse; drv->API.CreateImageKHR = NULL; drv->API.DestroyImageKHR = NULL; |