mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 19:54:27 +00:00
Fix Gradient, Color Picker BG, Fix CanvasItem::draw_texture_rect p_tile
This commit is contained in:
parent
f860ee3091
commit
051234e84e
6 changed files with 10 additions and 33 deletions
|
|
@ -480,6 +480,10 @@ void RendererCanvasRenderRD::_render_item(RD::DrawListID p_draw_list, RID p_rend
|
|||
case Item::Command::TYPE_RECT: {
|
||||
const Item::CommandRect *rect = static_cast<const Item::CommandRect *>(c);
|
||||
|
||||
if (rect->flags & CANVAS_RECT_TILE) {
|
||||
current_repeat = RenderingServer::CanvasItemTextureRepeat::CANVAS_ITEM_TEXTURE_REPEAT_ENABLED;
|
||||
}
|
||||
|
||||
//bind pipeline
|
||||
{
|
||||
RID pipeline = pipeline_variants->variants[light_mode][PIPELINE_VARIANT_QUAD].get_render_pipeline(RD::INVALID_ID, p_framebuffer_format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue