Added documentation on how to build a completely useless SDL library. :)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401488
This commit is contained in:
parent
baeb11507d
commit
df3dfeb000
9 changed files with 149 additions and 10 deletions
|
@ -15,10 +15,9 @@ testalpha
|
|||
testbitmap
|
||||
testblitspeed
|
||||
testcdrom
|
||||
testcpuinfo
|
||||
testdyngl
|
||||
testendian
|
||||
testerror
|
||||
testfile
|
||||
testgamma
|
||||
testgl
|
||||
testhread
|
||||
|
@ -28,13 +27,12 @@ testlock
|
|||
testoverlay
|
||||
testoverlay2
|
||||
testpalette
|
||||
testplatform
|
||||
testsem
|
||||
testsprite
|
||||
testtimer
|
||||
testtypes
|
||||
testver
|
||||
testvidinfo
|
||||
testwin
|
||||
testwm
|
||||
threadwin
|
||||
torturethread
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
/* Test the SDL CD-ROM audio functions */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
/* sanity tests on SDL_rwops.c (usefull for alternative implementations of stdio rwops) */
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_endian.h"
|
||||
|
|
|
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
|||
SDL_TimerID t1, t2, t3;
|
||||
|
||||
if ( SDL_Init(SDL_INIT_TIMER) < 0 ) {
|
||||
fprintf(stderr, "Couldn't load SDL: %s\n", SDL_GetError());
|
||||
fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue