Hi Please find attached some documentation for Pike's SDL module. I commented out the declaration of the SDL_Surface variable at the head of the PIKEFUN for SDL.set_video_mode() and everything still worked. I don't think it gets used, but is redeclared inside the following if...else statement. Thanks :)
Thanks, i applied and committed. I removed some spaces at EOL from your patch.
arne
On Sun, 27 Feb 2011, Matthew Clarke wrote:
Hi Please find attached some documentation for Pike's SDL module. I commented out the declaration of the SDL_Surface variable at the head of the PIKEFUN for SDL.set_video_mode() and everything still worked. I don't think it gets used, but is redeclared inside the following if...else statement. Thanks :)
pike-devel@lists.lysator.liu.se