From: David C. <si...@te...> - 2000-07-14 04:00:37
|
While revising my documentation, I notice the following items: 1) The following code produces a segfault under 0.0.7 (and maybe earlier versions: <CODE> import sdl sdl.init(sdl.INIT_VIDEO) fb = sdl.video_set_mode(200,200,16, sdl.SWSURFACE) sdl.quit_subsystem(sdl.INIT_VIDEO) sdl.init(sdl.INIT_VIDEO) fb = sdl.video_set_mode(200,200,16, sdl.SWSURFACE) </CODE> 2) I noticed there's no way to pass the fill_rect() function a NULL rect like there is in SDL_FillRect() or update_rect(). Could we have surface.fill_rect((0,0,0,0), somecolor) fill the surface with color? David Clark si...@te... Preliminary pySDL documentation: http://www3.telus.net/futility/futility/docs/pysdl/index.html |