OS/2, eCS & ArcaOS - Technical > Programming

Need help patching SDL

<< < (2/3) > >>

R.M. Klippstein:
WoW!! Dave --- Thanks for the detailed response, I'll do some practice runs in a test directory first and try both methods of patching. Again, thanks for describing in a manner that even a "klutz" like myself stands a chance of being successful.

klipp

Dave Yeo:
I forgot the most important option, --dry-run. patch.exe -p0 --dry-run < sdl.diff. The --dry-run will do everything except actually write the changes, once happy, remove --dry-run.

R.M. Klippstein:
GOT IT !¡!¡ Thanks --- I'll have to wait till tomorrow to check it out.

klipp

Mentore:

--- Quote from: R.M. Klippstein on October 16, 2014, 03:48:51 am ---GOT IT !¡!¡ Thanks --- I'll have to wait till tomorrow to check it out.

klipp

--- End quote ---

While we are on it, I have an unresolved question - or two, but maybe I will post the other on another thread.

SDL behaves strangely on Panorama VESA: it seems it's working in a wrong color space, like RGB instead of BGR (or viceversa). That means, if I fire up an SDL application on my machines (which all have had Panorama VESA in the last times), I see blue instead of red, while the green channel is always ok.

Is it possible to change this behaviour via some SDL options, or do we need some patch to the source code?

I'd gladly take the challenge, once I solve the second problem I'm encountering...

Mentore

Dave Yeo:
Somebody has fixed this and a few other issues and uploaded the fixed SDL to Hobbes,  currently in incoming,  http://hobbes.nmsu.edu/download/pub/incoming/SDL-1.2.15-20140930.zip

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version