diff options
Diffstat (limited to 'gfx/gl/GLContextProvider.h')
-rw-r--r-- | gfx/gl/GLContextProvider.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gfx/gl/GLContextProvider.h b/gfx/gl/GLContextProvider.h index c63f1ada0b..277b76efa8 100644 --- a/gfx/gl/GLContextProvider.h +++ b/gfx/gl/GLContextProvider.h @@ -60,10 +60,6 @@ namespace gl { # define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderLinux #endif -#ifndef GL_CONTEXT_PROVIDER_DEFAULT -# define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderEGL -#endif - #if defined(MOZ_WIDGET_UIKIT) # define GL_CONTEXT_PROVIDER_NAME GLContextProviderEAGL # include "GLContextProviderImpl.h" @@ -73,6 +69,10 @@ namespace gl { # endif #endif +#ifndef GL_CONTEXT_PROVIDER_DEFAULT +# define GL_CONTEXT_PROVIDER_DEFAULT GLContextProviderEGL +#endif + #ifdef MOZ_GL_PROVIDER # define GL_CONTEXT_PROVIDER_NAME MOZ_GL_PROVIDER # include "GLContextProviderImpl.h" |