early-access version 2847

This commit is contained in:
pineappleEA
2022-07-19 05:48:31 +02:00
parent ba74a2373c
commit 05e3c38e7f
498 changed files with 16027 additions and 27028 deletions

View File

@@ -458,7 +458,6 @@ main(int argc, char *argv[])
Uint32 then, now;
int status;
shader_data *data;
char *path = NULL;
/* Initialize parameters */
fsaa = 0;
@@ -562,25 +561,14 @@ main(int argc, char *argv[])
/* Load SDF BMP image */
#if 1
path = GetNearbyFilename(f);
if (path == NULL)
path = SDL_strdup(f);
if (path == NULL) {
SDL_Log("out of memory\n");
exit(-1);
}
tmp = SDL_LoadBMP(path);
tmp = SDL_LoadBMP(f);
if (tmp == NULL) {
SDL_Log("missing image file: %s", path);
SDL_Log("missing image file: %s", f);
exit(-1);
} else {
SDL_Log("Load image file: %s", path);
SDL_Log("Load image file: %s", f);
}
SDL_free(path);
#else
/* Generate SDF image using SDL_ttf */