Add software renderer implementation for SDL 1.2 backend#128
Draft
iProgramMC wants to merge 28 commits into
Draft
Add software renderer implementation for SDL 1.2 backend#128iProgramMC wants to merge 28 commits into
iProgramMC wants to merge 28 commits into
Conversation
fix build
Fancy2209
reviewed
May 17, 2026
| @@ -0,0 +1,8 @@ | |||
| #pragma once | |||
|
|
|||
| #define LIKELY(cond) __builtin_expect(!!(cond), 1) | |||
Collaborator
There was a problem hiding this comment.
These should have a windows path and be in common.h
Also is there any reason to have UNUSED when we have MAYBE_UNUSED?
Small things
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.
…sourceWidth/Height and targetWidth/Height
… the SDL video mode." This reverts commit 5e43ec9.
…into sw-renderer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.