WIP. build under Win32 without SDL

This commit is contained in:
Thomas Bernard
2018-05-31 17:29:29 +02:00
parent 4d86b8a0c1
commit 3e4f3d0313
12 changed files with 54 additions and 24 deletions

View File

@@ -295,7 +295,7 @@ void Init_text(void)
snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts");
For_each_file(directory_name, Add_font);
#if defined(__WIN32__)
#if defined(WIN32)
// Parcours du répertoire systeme windows "fonts"
#ifndef NOTTF
{
@@ -709,6 +709,8 @@ byte *Render_text(const char *str, int font_number, int size, int antialias, int
{
#if defined(USE_SDL) || defined(USE_SDL2)
return Render_text_SFont(str, font_number, width, height, palette);
#else
return NULL;
#endif
}
}