comparison test/testoverlay2.c @ 1030:6b8f0543337c

Date: Sat, 15 Jan 2005 15:06:01 -0600 From: Tyler Montbriand Subject: [SDL] minor bugfix for test/testoverlay2.c Programs that use malloc ought to #include <stdlib.h> . On 32-bit systems you can get away with not including it, but on 64-bit systems it will assume malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 18 Jan 2005 18:32:10 +0000
parents 05c551e5bc64
children be9c9c8f6d53
comparison
equal deleted inserted replaced
1029:f87f87efd45a 1030:6b8f0543337c
2 * * 2 * *
3 * Test of the overlay used for moved pictures, test more closed to real life. * 3 * Test of the overlay used for moved pictures, test more closed to real life. *
4 * Running trojan moose :) Coded by Mike Gorchak. * 4 * Running trojan moose :) Coded by Mike Gorchak. *
5 * * 5 * *
6 ********************************************************************************/ 6 ********************************************************************************/
7
8 #include <stdlib.h>
9 #include <stdio.h>
10 #include <string.h>
7 11
8 #include "SDL.h" 12 #include "SDL.h"
9 13
10 #define MOOSEPIC_W 64 14 #define MOOSEPIC_W 64
11 #define MOOSEPIC_H 88 15 #define MOOSEPIC_H 88