Sokol-zig 小更新:@nurpax 为 sokol_framebuffer.h 头文件贡献了绑定 PR 和新的 Zig 示例。这基本上只需几行 zig 代码就能实现 VGA Mode13h 风格的 CPU 渲染。
运行新示例(在 macOS、Linux 或 Windows 上):
git clone https://github.com/floooh/sokol-zig && cd sokol-zig
zig build run-framebuffer

Screenshot 2026-08-01 at 12.22.531288×1030 31.8 KB
源代码:
非常感谢 @nurpax!
0 Comments
Log in to join the conversation.No comments yet. Be the first to share your thoughts.