mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-01-14 05:03:24 +01:00
[PR #47] [MERGED] Fix content disappearing in subsequent render #61
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dscyrescotti/Memola/pull/47
Author: @dscyrescotti
Created: 6/19/2024
Status: ✅ Merged
Merged: 6/19/2024
Merged by: @dscyrescotti
Base:
main← Head:feature/photo-render-pass📝 Commits (1)
d3b9328bug: fix content disappearing in subsequent render📊 Changes
3 files changed (+15 additions, -14 deletions)
View changed files
📝
Memola/Canvas/Elements/Photo/Photo.swift(+11 -10)📝
Memola/Canvas/RenderPasses/EraserRenderPass.swift(+2 -2)📝
Memola/Canvas/RenderPasses/StrokeRenderPass.swift(+2 -2)📄 Description
Description
This PR fixes the issue of discarding some content on canvas by opt for
cpuCacheModeWriteCombinedin buffer creation and recreate buffer for photo vertex buffer.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.