Advertisement

Porting rPong to SuSE 9.3

Started by April 20, 2005 09:40 PM
-1 comments, last by jumpjumpjump 19 years, 6 months ago
I have gotten rob loach's rpong set up in a kdevelop project on linux. Problem is this: I get a seg fault on:

		void TransColour(int r, int g, int b){
		    SDL_SetColorKey(pImage, SDL_SRCCOLORKEY, 
                SDL_MapRGB(pImage->format, r, g, b));
		} 

The same exact files will compiler under mingw. I get these gdb messages:

#0 0x080497ee in CSprite::TransColour(this=0xbfffefc0, r=1,g=1,b=1) at sprite.h: 67

Any ideas?

This topic is closed to new replies.

Advertisement