Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ const PathFormatter = struct {
const flags = &.{"-std=c++14"};

const sources = &.{
"common/tvgColor.cpp",
"common/tvgCompressor.cpp",
"common/tvgMath.cpp",
"common/tvgStr.cpp",
Expand All @@ -322,7 +323,6 @@ const sources = &.{
"renderer/tvgAnimation.cpp",
"renderer/tvgCanvas.cpp",
"renderer/tvgFill.cpp",
"renderer/tvgGlCanvas.cpp",
"renderer/tvgInitializer.cpp",
"renderer/tvgLoader.cpp",
"renderer/tvgPaint.cpp",
Expand All @@ -331,10 +331,8 @@ const sources = &.{
"renderer/tvgSaver.cpp",
"renderer/tvgScene.cpp",
"renderer/tvgShape.cpp",
"renderer/tvgSwCanvas.cpp",
"renderer/tvgTaskScheduler.cpp",
"renderer/tvgText.cpp",
"renderer/tvgWgCanvas.cpp",

"loaders/raw/tvgRawLoader.cpp",
};
Expand All @@ -354,6 +352,7 @@ const sw_engine_sources = &.{

const gl_engine_sources = &.{
"tvgGl.cpp",
"tvgGlEffect.cpp",
"tvgGlGeometry.cpp",
"tvgGlGpuBuffer.cpp",
"tvgGlProgram.cpp",
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
.thorvg = .{
// Change back when I PR the C API + OpenGL changes
// and https://github.com/thorvg/thorvg/pull/2866 is merged
.url = "git+https://github.com/thorvg/thorvg#v1.0-pre20",
.hash = "N-V-__8AAChOPAdj6sQ4bgnduUqITzMOXd45ZrwAlswoTkcQ",
.url = "git+https://github.com/thorvg/thorvg?ref=v1.0-pre32#cf1557c70bad7fd251342618b0fe50814f04377d",
.hash = "N-V-__8AAG27XATHWIxvr0Rtvv6ZMjXLtfkCaxVG3srEE9dN",
},
// Upstream dev
.sdl = .{
Expand Down