Bug 898895 - Define MOZ_WEBGL globally; r=ted

This commit is contained in:
Ms2ger 2013-08-02 09:04:35 +02:00
parent 68579be592
commit db93468e84
3 changed files with 4 additions and 5 deletions

View File

@ -5905,6 +5905,10 @@ if test -n "$MOZ_WEBGL_DISABLED"; then
MOZ_ANGLE_RENDERER=
fi
if test -n "$MOZ_WEBGL"; then
AC_DEFINE(MOZ_WEBGL)
fi
if test -n "$MOZ_WEBGL_CONFORMANT"; then
AC_DEFINE(MOZ_WEBGL_CONFORMANT)
fi

View File

@ -42,7 +42,3 @@ INCLUDES += \
DEFINES += \
-D_IMPL_NS_LAYOUT \
$(NULL)
ifdef MOZ_WEBGL
DEFINES += -DMOZ_WEBGL
endif

View File

@ -18,7 +18,6 @@ FAIL_ON_WARNINGS = 1
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
ifdef MOZ_WEBGL
DEFINES += -DMOZ_WEBGL
DEFINES += -DMOZ_D3DCOMPILER_DLL=$(MOZ_D3DCOMPILER_DLL)
endif
endif