Title: [207137] trunk
Revision
207137
Author
[email protected]
Date
2016-10-11 07:30:10 -0700 (Tue, 11 Oct 2016)

Log Message

[Win][Direct2D] Compile fix.
https://bugs.webkit.org/show_bug.cgi?id=163273

Reviewed by Brent Fulgham.

Define USE_DIRECT2D.

* Source/cmake/OptionsAppleWin.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (207136 => 207137)


--- trunk/ChangeLog	2016-10-11 14:09:51 UTC (rev 207136)
+++ trunk/ChangeLog	2016-10-11 14:30:10 UTC (rev 207137)
@@ -1,3 +1,14 @@
+2016-10-11  Per Arne Vollan  <[email protected]>
+
+        [Win][Direct2D] Compile fix.
+        https://bugs.webkit.org/show_bug.cgi?id=163273
+
+        Reviewed by Brent Fulgham.
+
+        Define USE_DIRECT2D.
+
+        * Source/cmake/OptionsAppleWin.cmake:
+
 2016-10-10  Zan Dobersek  <[email protected]>
 
         Add ENABLE_ENCRYPTED_MEDIA configuration option

Modified: trunk/Source/cmake/OptionsAppleWin.cmake (207136 => 207137)


--- trunk/Source/cmake/OptionsAppleWin.cmake	2016-10-11 14:09:51 UTC (rev 207136)
+++ trunk/Source/cmake/OptionsAppleWin.cmake	2016-10-11 14:30:10 UTC (rev 207137)
@@ -8,5 +8,9 @@
 # Uncomment the following line to try the Direct2D backend.
 # set(USE_DIRECT2D 1)
 
+if (${USE_DIRECT2D})
+    add_definitions(-DUSE_DIRECT2D=1)
+endif ()
+
 # Warnings as errors (ignore narrowing conversions)
 add_compile_options(/WX /Wv:18)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to