mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-12 05:59:53 +02:00
System/Libraries/Html/Renderer: Fix BGR/RGB flip in background
This is no longer needed and breaks things, so let's revert it.
This commit is contained in:
@@ -995,7 +995,7 @@ U0 @render_node_list(@html_dom_node* node, HtmlRenderer* renderer)
|
|||||||
if (!StrICmp(node->tagName, "body")) {
|
if (!StrICmp(node->tagName, "body")) {
|
||||||
renderer->background_ctx->width = Display.Width();
|
renderer->background_ctx->width = Display.Width();
|
||||||
renderer->background_ctx->height = Display.Height();
|
renderer->background_ctx->height = Display.Height();
|
||||||
renderer->background_ctx->fill(@image_pixel_flip_rgb_bgr(node->backgroundColor));
|
renderer->background_ctx->fill(node->backgroundColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!StrICmp(node->tagName, "form"))
|
if (!StrICmp(node->tagName, "form"))
|
||||||
|
|||||||
Reference in New Issue
Block a user