mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 14:57:54 +03:00
WebContent: Add missing ifdef
This commit is contained in:
parent
7950992fc2
commit
33f66dcb8f
Notes:
sideshowbarker
2024-07-17 22:09:47 +09:00
Author: https://github.com/koenditor Commit: https://github.com/LadybirdBrowser/ladybird/commit/33f66dcb8f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/177
@ -207,7 +207,9 @@ void PageClient::paint(Web::DevicePixelRect const& content_rect, Gfx::Bitmap& ta
|
|||||||
{
|
{
|
||||||
paint_options.should_show_line_box_borders = m_should_show_line_box_borders;
|
paint_options.should_show_line_box_borders = m_should_show_line_box_borders;
|
||||||
paint_options.has_focus = m_has_focus;
|
paint_options.has_focus = m_has_focus;
|
||||||
|
#ifdef HAS_ACCELERATED_GRAPHICS
|
||||||
paint_options.accelerated_graphics_context = m_accelerated_graphics_context.ptr();
|
paint_options.accelerated_graphics_context = m_accelerated_graphics_context.ptr();
|
||||||
|
#endif
|
||||||
paint_options.use_gpu_painter = s_use_gpu_painter;
|
paint_options.use_gpu_painter = s_use_gpu_painter;
|
||||||
paint_options.use_experimental_cpu_transform_support = s_use_experimental_cpu_transform_support;
|
paint_options.use_experimental_cpu_transform_support = s_use_experimental_cpu_transform_support;
|
||||||
page().top_level_traversable()->paint(content_rect, target, paint_options);
|
page().top_level_traversable()->paint(content_rect, target, paint_options);
|
||||||
|
Loading…
Reference in New Issue
Block a user