Убраны лишние комментарии
This commit is contained in:
@@ -18,7 +18,7 @@ pub const RenderEngine = union(enum) {
|
||||
};
|
||||
}
|
||||
|
||||
/// Растеризует документ в текстуру (размер и видимая область в пикселях холста).
|
||||
/// Растеризует документ в текстуру.
|
||||
pub fn render(self: RenderEngine, document: *const Document, canvas_size: basic_models.Size_i, visible_rect: basic_models.Rect_i) !?dvui.Texture {
|
||||
return switch (self) {
|
||||
.cpu => |cpu_r| cpu_r.renderDocument(document, canvas_size, visible_rect),
|
||||
|
||||
Reference in New Issue
Block a user