glx/glvnd: remove the final if defined($extension) guards
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 30 May 2016 15:45:39 +0000 (16:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 May 2016 16:53:44 +0000 (17:53 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/glx/g_glxglvnddispatchfuncs.c

index 72f0f68bf39edd46b4ad12f65ec40337a0798c94..e6b9c0ba374e17634c6ad7ad72b5d2b24d2b5298 100644 (file)
@@ -941,20 +941,14 @@ const void * const __glXDispatchFunctions[DI_LAST_INDEX + 1] = {
     __ATTRIB(GetFBConfigAttribSGIX),
     __ATTRIB(GetFBConfigFromVisualSGIX),
     __ATTRIB(GetSelectedEventSGIX),
-#if defined(GLX_SGI_video_sync)
     __ATTRIB(GetVideoSyncSGI),
-#endif // defined(GLX_SGI_video_sync)
     __ATTRIB(GetVisualFromFBConfigSGIX),
     __ATTRIB(QueryContextInfoEXT),
     __ATTRIB(QueryGLXPbufferSGIX),
     __ATTRIB(ReleaseTexImageEXT),
     __ATTRIB(SelectEventSGIX),
-#if defined(GLX_SGI_swap_control)
     __ATTRIB(SwapIntervalSGI),
-#endif // defined(GLX_SGI_swap_control)
-#if defined(GLX_SGI_video_sync)
     __ATTRIB(WaitVideoSyncSGI),
-#endif // defined(GLX_SGI_video_sync)
     __ATTRIB(glXBindSwapBarrierSGIX),
     __ATTRIB(glXCopySubBufferMESA),
     __ATTRIB(glXCreateGLXPixmapMESA),