All pastes #205173 Raw Edit

Miscellany

public cpp v1 · immutable
#205173 ·published 2006-10-16 16:07 UTC
rendered paste body
	} else {				SDL_Rect rect;		rect.x = 0;		rect.y = 0;		rect.w = 500;		rect.h = 20;								mpScreen->w		//SDL_BlitSurface(mpScreen,&rect,mpScreen,&rect);		if (mpScreen)			SDL_FillRect(mpScreen,&rect, 0x00000000);		SDL_BlitSurface(text_surface,&rect,mpScreen,&rect);//		SDL_UpdateRects(mpScreen, 1, &rect);		//SDL_UpdateRect(mpScreen,0,0,SCREEN_WIDTH,SCREEN_HEIGHT);		//perhaps we can reuse it, but I assume not for simplicity.		SDL_FreeSurface(text_surface);	}