Mercurial > sdl-ios-xcode
diff src/video/ps3/SDL_ps3video.c @ 3146:9e902f423497 gsoc2009_ps3
YUV-Textures with SPU-support working.
author | Martin Lowinski <martin@goldtopf.org> |
---|---|
date | Mon, 15 Jun 2009 16:33:03 +0000 |
parents | 7828eed2f31a |
children | 0cf7bff804ad |
line wrap: on
line diff
--- a/src/video/ps3/SDL_ps3video.c Sat Jun 13 05:20:57 2009 +0000 +++ b/src/video/ps3/SDL_ps3video.c Mon Jun 15 16:33:03 2009 +0000 @@ -128,7 +128,7 @@ SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; SDL_DisplayMode mode; -#if 0 +#if 1 /* Use a fake 32-bpp desktop mode */ mode.format = SDL_PIXELFORMAT_RGB888; mode.w = 1920; @@ -140,8 +140,8 @@ //SDL_zero(mode); SDL_AddDisplayMode(0, &mode); - display.desktop_mode = mode; - display.current_mode = mode; + //display.desktop_mode = mode; + //display.current_mode = mode; #endif /* @@ -199,9 +199,11 @@ /* Blank screen */ memset(data->frame_buffer, 0x00, fb_finfo.smem_len); +#if 0 PS3_InitModes(_this); SDL_AddRenderDriver(0, &SDL_PS3_RenderDriver); +#endif /* We're done! */ return 0;