Title: [219048] trunk/Source/WTF
Revision
219048
Author
commit-qu...@webkit.org
Date
2017-07-01 07:28:12 -0700 (Sat, 01 Jul 2017)

Log Message

Add a warning if WEBGL2 is enabled without WEBGL
https://bugs.webkit.org/show_bug.cgi?id=174054

Patch by Joseph Pecoraro <pecor...@apple.com> on 2017-07-01
Reviewed by Sam Weinig.

* wtf/FeatureDefines.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (219047 => 219048)


--- trunk/Source/WTF/ChangeLog	2017-07-01 09:36:35 UTC (rev 219047)
+++ trunk/Source/WTF/ChangeLog	2017-07-01 14:28:12 UTC (rev 219048)
@@ -1,3 +1,12 @@
+2017-07-01  Joseph Pecoraro  <pecor...@apple.com>
+
+        Add a warning if WEBGL2 is enabled without WEBGL
+        https://bugs.webkit.org/show_bug.cgi?id=174054
+
+        Reviewed by Sam Weinig.
+
+        * wtf/FeatureDefines.h:
+
 2017-06-30  Keith Miller  <keith_mil...@apple.com>
 
         Force crashWithInfo to be out of line.

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (219047 => 219048)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2017-07-01 09:36:35 UTC (rev 219047)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2017-07-01 14:28:12 UTC (rev 219048)
@@ -766,4 +766,8 @@
 #error "ENABLE(WEBGL) requires ENABLE(GRAPHICS_CONTEXT_3D)"
 #endif
 
+#if ENABLE(WEBGL2) && !ENABLE(WEBGL)
+#error "ENABLE(WEBGL2) requires ENABLE(WEBGL)"
+#endif
+
 #endif /* WTF_FeatureDefines_h */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to