Commit e1daf4d
authored
Fix a few Graphics library issues (#2985)
Update the Sming-Graphics library with a few bug fixes.
- Replace image URLs with my own. Avoids attribution issues and problems with external servers
- Fix graphic editor typename display, copy_as method signature
- Fix unused parameter warnings
- Fix abs() bug in drawing macros. Introduced in commit 89d315bd because clang doesn't provide constexpr abs().
- Fix `ReadStream` reads of more than 64 bytes
- Fix render debug statement
- Fix `SubStream::readMemoryBlock`, missing check on available bytes
- Revert #9c3031f3, virtual screen pointer size
Bad fix. `datalen` refers to content size and not size of address field. Needs a proper fix. Since this is only related to Host operation, perhaps avoid `writeDataBuffer`, `readStart` and `read` and instead use host-specific commands.1 parent 426ab81 commit e1daf4d
1 file changed
+1
-1
lines changed- Tools/ged/item.py+6-5
- Tools/vs/screen.py+2-2
- resource/images/leaf.jpg
- resource/images/swan.jpg
- samples/Basic_Graphics/app/application.cpp+3-3
- samples/Basic_Graphics/resource/graphics.rc+4-4
- src/Asset.cpp+1-1
- src/Renderer.cpp+1-1
- src/Stream.cpp+15
- src/include/Graphics/Control/Control.h+1-1
- src/include/Graphics/Drawing/Macros.h+7-1
- src/include/Graphics/Stream.h+2-1
- src/include/Graphics/Surface.h+1-1
0 commit comments