Skip to content

Commit c2d2499

Browse files
Fix: Delphi-style MESA hint only (FPC can handle this)
1 parent af3c273 commit c2d2499

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

units/sdl2.pas

+1-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ interface
134134
{$ELSE}
135135
SDL_LibName = 'libSDL2.so.0';
136136
{$ENDIF}
137-
{$IFDEF FPC}{$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.}{$ENDIF}
138-
{$IFDEF DELPHI}{$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.'}{$ENDIF}
137+
{$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.'}
139138
{$ENDIF}
140139
{$ENDIF}
141140

0 commit comments

Comments
 (0)