Skip to content

Commit

Permalink
Change ordering of image files so .jpg have precedence over .dds.
Browse files Browse the repository at this point in the history
This change was requested by Burn so that the new .jpg versions
of the tab maps are used in preference to any remaining .dds version.
  • Loading branch information
pjbroad committed Oct 26, 2024
1 parent 9fa4c57 commit 5821d87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions image_loading.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#define IMAGE_EXTENSIONS_MAX 5
static const char* image_extensions[IMAGE_EXTENSIONS_MAX] =
{
".dds",
".jpeg",
".jpg",
".dds",
".png",
".bmp"
".bmp",
".jpeg"
};

Uint32 get_file_name_len(const char* file_name)
Expand Down

0 comments on commit 5821d87

Please sign in to comment.