Home
last modified time | relevance | path

Searched refs:clip_diff (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_cursor.c350 int clip_diff; in SDL_MouseRect() local
361 clip_diff = (area->x+area->w)-SDL_VideoSurface->w; in SDL_MouseRect()
362 if ( clip_diff > 0 ) { in SDL_MouseRect()
363 area->w = area->w < clip_diff ? 0 : area->w-clip_diff; in SDL_MouseRect()
365 clip_diff = (area->y+area->h)-SDL_VideoSurface->h; in SDL_MouseRect()
366 if ( clip_diff > 0 ) { in SDL_MouseRect()
367 area->h = area->h < clip_diff ? 0 : area->h-clip_diff; in SDL_MouseRect()