Skip to content

Commit

Permalink
Added error value to output
Browse files Browse the repository at this point in the history
  • Loading branch information
JCash committed Nov 23, 2023
1 parent d4b325d commit 5c439bd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file modified defold-spine/plugins/lib/arm64-osx/libSpineExt.dylib
Binary file not shown.
Binary file modified defold-spine/plugins/share/pluginSpineExt.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions defold-spine/pluginsrc/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static dmGameSystemDDF::TextureSet* LoadAtlasFromBuffer(void* buffer, size_t buf
dmDDF::Result e = dmDDF::LoadMessage(buffer, (uint32_t)buffer_size, &texture_set_ddf);
if ( e != dmDDF::RESULT_OK )
{
dmLogError("Failed to load atlas from '%s'", path);
dmLogError("Failed to load atlas from '%s' %d", path, (int)e);
return 0;
}
return texture_set_ddf;
Expand Down Expand Up @@ -691,4 +691,3 @@ static void UpdateRenderData(SpineFile* file)

ro.m_WorldTransform = transform;
}

0 comments on commit 5c439bd

Please sign in to comment.