Changeset 246586 in webkit
- Timestamp:
- Jun 19, 2019 5:03:15 AM (5 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r246583 r246586 1 2019-06-19 Zan Dobersek <zdobersek@igalia.com> 2 3 USE_ANGLE macro can be evaluated without being defined 4 https://bugs.webkit.org/show_bug.cgi?id=198991 5 6 Reviewed by Carlos Garcia Campos. 7 8 * wtf/Platform.h: On platforms not yet defining USE_ANGLE, the 9 incompatibility check with some other flags leads to the macro being 10 evaluated even when it was not defined, producing compiler warnings. 11 To avoid this, the macro should be defined to 0 before the check in 12 case it was not defined already. 13 1 14 2019-06-18 Dean Jackson <dino@apple.com> 2 15 -
trunk/Source/WTF/wtf/Platform.h
r246583 r246586 1139 1139 1140 1140 #if ENABLE(WEBGL) 1141 #if !defined(USE_ANGLE) 1142 #define USE_ANGLE 0 1143 #endif 1144 1141 1145 #if (USE_ANGLE && (USE_OPENGL || USE_OPENGL_ES || (defined(USE_EGL) && USE_EGL))) 1142 1146 #error USE_ANGLE is incompatible with USE_OPENGL, USE_OPENGL_ES and USE_EGL
Note: See TracChangeset
for help on using the changeset viewer.