Mercurial > check-sdl-version
changeset 2:837f5d6c4a72
Version with only sdl support..
author | Eris Caffee <discordia@eldalin.com> |
---|---|
date | Thu, 14 Oct 2010 00:43:26 -0500 |
parents | 0aaa058b0994 |
children | d3d9c758a0ee |
files | src/main.c |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line diff
1.1 --- a/src/main.c Thu Oct 14 00:42:55 2010 -0500 1.2 +++ b/src/main.c Thu Oct 14 00:43:26 2010 -0500 1.3 @@ -12,14 +12,11 @@ 1.4 1.5 #include <stdio.h> 1.6 #include <SDL.h> 1.7 -#include <SDL_ttf.h> 1.8 1.9 int main(int argc, char **argv) 1.10 { 1.11 SDL_version compiled; 1.12 const SDL_version * linked; 1.13 - SDL_version ttf_compiled; 1.14 - const SDL_version * ttf_linked; 1.15 1.16 printf("\t\t\tCompiled\t\tLinked\n"); 1.17 1.18 @@ -27,10 +24,4 @@ 1.19 linked = SDL_Linked_Version(); 1.20 printf("SDL version\t\t%d.%d.%d\t\t\t%d.%d.%d\n", compiled.major, compiled.minor, compiled.patch, 1.21 linked->major, linked->minor, linked->patch); 1.22 - 1.23 - SDL_TTF_VERSION(&ttf_compiled); 1.24 - ttf_linked = TTF_Linked_Version(); 1.25 - printf("SDL_ttf version\t\t%d.%d.%d\t\t\t%d.%d.%d\n", ttf_compiled.major, ttf_compiled.minor, ttf_compiled.patch, 1.26 - ttf_linked->major, ttf_linked->minor, ttf_linked->patch); 1.27 - 1.28 }