mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
Bug 898895 - Define MOZ_WEBGL globally; r=ted
This commit is contained in:
parent
fa4df90145
commit
a0c434eb33
@ -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
|
||||
|
@ -42,7 +42,3 @@ INCLUDES += \
|
||||
DEFINES += \
|
||||
-D_IMPL_NS_LAYOUT \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_WEBGL
|
||||
DEFINES += -DMOZ_WEBGL
|
||||
endif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user