Changeset ca119e8 in gitlab

Timestamp:
Sep 26, 2014, 9:35:49 PM (10 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
sdl2
Children:
cadf6c2
Parents:
4748f092
Message:

Make the SDL2 version work on Linux

  • Adjust makefile to use sdl2-config
  • Define _XOPEN_SOURCE as a compiler flag, rather than in each affected file.

This makes sure we don't try to call different versions of the same function
or use the same struct with a different layout in some places.

  • Fix an extra free that shouldn't be there. getcwd does not allocate memory

when giving it a buffer (the standard way), it only does so when passing
NULL (as an extension in the glibc).

There is still a color problem, apparently a mixup of RGBA versus ABGR. Other
than that everything seems to be working fine.

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/sdl2@2075 416bcca6-2ee7-4201-b75f-2eb2f807beb1

(No files)

Note: See TracChangeset for help on using the changeset viewer.