egl: more define fixes for EGL_MESA_image_dma_buf_export
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Mon, 11 May 2015 22:43:49 +0000 (23:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 May 2015 21:00:05 +0000 (21:00 +0000)
s/EGL_MESA_dma_buf_image_export/EGL_MESA_image_dma_buf_export as defined by the spec
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/egl/main/eglapi.c
src/egl/main/eglfallbacks.c

index 9e6cb2fb8d712bb0b8dc1e6d249f2674148e1b3e..e4d098c1eaaeb2bc491935f31fcf64d933f96a99 100644 (file)
@@ -1747,7 +1747,7 @@ eglGetProcAddress(const char *procname)
       { "eglCreatePlatformWindowSurfaceEXT", (_EGLProc) eglCreatePlatformWindowSurfaceEXT },
       { "eglCreatePlatformPixmapSurfaceEXT", (_EGLProc) eglCreatePlatformPixmapSurfaceEXT },
       { "eglGetSyncValuesCHROMIUM", (_EGLProc) eglGetSyncValuesCHROMIUM },
-#ifdef EGL_MESA_dma_buf_image_export
+#ifdef EGL_MESA_image_dma_buf_export
       { "eglExportDMABUFImageQueryMESA", (_EGLProc) eglExportDMABUFImageQueryMESA },
       { "eglExportDMABUFImageMESA", (_EGLProc) eglExportDMABUFImageMESA },
 #endif
index d12b8491ad1a996547a257793f994533efce44f7..c44ec6cc83571495ceec2fa9f936fc028548d39a 100644 (file)
@@ -102,7 +102,7 @@ _eglInitDriverFallbacks(_EGLDriver *drv)
    drv->API.SwapBuffersRegionNOK = NULL;
 #endif
 
-#ifdef EGL_MESA_dma_buf_image_export
+#ifdef EGL_MESA_image_dma_buf_export
    drv->API.ExportDMABUFImageQueryMESA = NULL;
    drv->API.ExportDMABUFImageMESA = NULL;
 #endif