-
Notifications
You must be signed in to change notification settings - Fork 2.2k
SDL2 - RLE Not Working? #13106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
While digging through the SDL2 source code, I noticed that RLE acceleration seems to depend on the |
You can throw an Also, I recommend upgrading your version of SDL. :) |
I actually downloaded my build directly from the Releases page. So are those builds compiled using the "lean and mean" configuration? Do I need to manually compile SDL2 if I want to disable it? |
No, those builds have all the features enabled. |
That's odd. I tried the |
Uh oh!
There was an error while loading. Please reload this page.
I’m working with a surface in SDL and trying to enable RLE acceleration using:
SDL_SetSurfaceRLE(surf, 1);
However,
SDL_MUSTLOCK(surf)
always returns false, which seems to indicate that the surface isn’t actually using RLE acceleration. Am I missing something here? Is there something else I need to do to properly enable RLE on a surface?For reference, I am using SDL2 v2.26.4.
The text was updated successfully, but these errors were encountered: