comparison src/video/nds/SDL_ndsvideo.c @ 2677:6386764eb222 gsoc2008_nds

Starting to work on a more complete video driver.
author Darren Alton <dalton@stevens.edu>
date Wed, 02 Jul 2008 13:59:30 +0000
parents 24a6b3588eac
children bc3e3e889f6d
comparison
equal deleted inserted replaced
2676:082cc3ffd7d8 2677:6386764eb222
119 mode.format = SDL_PIXELFORMAT_BGR555; 119 mode.format = SDL_PIXELFORMAT_BGR555;
120 mode.refresh_rate = 60; 120 mode.refresh_rate = 60;
121 mode.driverdata = NULL; 121 mode.driverdata = NULL;
122 122
123 SDL_AddBasicVideoDisplay(&mode); 123 SDL_AddBasicVideoDisplay(&mode);
124 SDL_AddRenderDriver(0, &SDL_NDS_RenderDriver); 124 SDL_AddRenderDriver(0, &NDS_RenderDriver);
125 125
126 SDL_zero(mode); 126 SDL_zero(mode);
127 SDL_AddDisplayMode(0, &mode); 127 SDL_AddDisplayMode(0, &mode);
128 128
129 /* hackish stuff to get things up and running for now, and for a console */ 129 /* hackish stuff to get things up and running for now, and for a console */