Skip to content

Add software renderer implementation for SDL 1.2 backend#128

Draft
iProgramMC wants to merge 28 commits into
ButterscotchRunner:mainfrom
iProgramMC:sw-renderer
Draft

Add software renderer implementation for SDL 1.2 backend#128
iProgramMC wants to merge 28 commits into
ButterscotchRunner:mainfrom
iProgramMC:sw-renderer

Conversation

@iProgramMC
Copy link
Copy Markdown
Contributor

@iProgramMC iProgramMC commented May 17, 2026

Taken from https://github.com/iProgramMC/Butterscotch/tree/sw-renderer-old.

This is nowhere near complete. The only game this can run right now is UNDERTALE, and I know of a thing in UNDERTALE that doesn't work also.

Comment thread src/sw/defines.h
@@ -0,0 +1,8 @@
#pragma once

#define LIKELY(cond) __builtin_expect(!!(cond), 1)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should have a windows path and be in common.h
Also is there any reason to have UNUSED when we have MAYBE_UNUSED?

Un1q32 and others added 17 commits May 17, 2026 19:54
Fix software only builds after recent makefile change
This allows the software renderer to work correctly on big-endian
systems like PowerPC Macs.

Note that the framebuffer will be byteswapped from little-endian mode.
This fixes Muffet's teapot in her right hand rotating around the wrong point.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants