Skip to content
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

Fixing SDL_AUDIO_ISLITTLEENDIAN in sdl2.pas #139

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion units/sdl2.pas
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
{$ELSE}
SDL_LibName = 'libSDL2.so.0';
{$ENDIF}
{$MESSAGE HINT 'Known MESA bug may generate float-point exception in software graphics mode! See https://github.com/PascalGameDevelopment/SDL2-for-Pascal/issues/56 for reference.'}

Check notice on line 112 in units/sdl2.pas

View workflow job for this annotation

GitHub Actions / ubuntu-20-04

sdl2.pas(112,8): Hint (user defined)

Known MESA bug may generate float-point exception in software graphics mode! See https://github.com/PascalGameDevelopment/SDL2-for-Pascal/issues/56 for reference.
{$ENDIF}
{$ENDIF}

Expand Down Expand Up @@ -351,7 +351,7 @@

function SDL_AUDIO_ISLITTLEENDIAN(x: Cardinal): Cardinal;
begin
Result := not SDL_AUDIO_ISLITTLEENDIAN(x);
Result := not SDL_AUDIO_ISBIGENDIAN(x);
end;

function SDL_AUDIO_ISUNSIGNED(x: Cardinal): Cardinal;
Expand Down
Loading