Mercurial > sdl-ios-xcode
view src/video/xbios/Makefile.am @ 1296:f418917e0b7a
Fixed crash:
#include <SDL.h>
int main(int argc, char** argv)
{
SDL_Init(SDL_INIT_EVERYTHING);
SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN);
SDL_ShowCursor(SDL_DISABLE);
SDL_Delay(1000);
SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN | SDL_OPENGL);
SDL_Quit();
printf("Everything okay\n");
}
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 30 Jan 2006 13:30:44 +0000 |
parents | 5023cde12cbd |
children |
line wrap: on
line source
## Makefile.am for SDL using the XBIOS video driver noinst_LTLIBRARIES = libvideo_xbios.la libvideo_xbios_la_SOURCES = $(XBIOS_SRCS) # The SDL XBIOS video driver sources XBIOS_SRCS = \ SDL_xbios.c \ SDL_xbios.h \ SDL_xbios_blowup.c \ SDL_xbios_blowup.h \ SDL_xbios_centscreen.c \ SDL_xbios_centscreen.h \ SDL_xbios_sb3.c \ SDL_xbios_sb3.h