Partial merge of the SDL2 branch into trunk

* Mainly get the cleanup of window drawing functions.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2102 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2015-03-02 13:44:18 +00:00
parent f0ebf223a8
commit 78fcc648c3
11 changed files with 145 additions and 197 deletions

View File

@@ -24,8 +24,6 @@
// Fonctions de lecture/ecriture file, gèrent les systèmes big-endian et
// little-endian.
#define _XOPEN_SOURCE 500
#include <SDL_endian.h>
#include <string.h>
#include <sys/stat.h>
@@ -460,7 +458,7 @@ byte Create_lock_file(const char *file_directory)
#else
char lock_filename[MAX_PATH_CHARACTERS];
#ifdef GCWZERO
#ifdef GCWZERO
strcpy(lock_filename,"/media/home/.grafx2/");
#else
strcpy(lock_filename,file_directory);