Hi I added some code from an example in the sdl docs. I can't see why its a problem but I am getting this error for all 4 of the lines it runs:
"expected `,' or `;' before '=' token"
Anyway Here is the code
Any ideas? ThanksCode:Uint32 rmask, gmask, bmask, amask; #if SDL_BYTEORDER == SDL_BIG_ENDIAN rmask = 0xff000000; gmask = 0x00ff0000; bmask = 0x0000ff00; amask = 0x000000ff; #else rmask = 0x000000ff; gmask = 0x0000ff00; bmask = 0x00ff0000; amask = 0xff000000; #endif