comparison src/video/nanox/SDL_nxvideo.c @ 699:d3b2e93629eb

Fixed some bugs in the Nano-X video driver
author Sam Lantinga <slouken@libsdl.org>
date Sat, 30 Aug 2003 09:06:37 +0000
parents 31d9be995d5c
children b8d311d90021
comparison
equal deleted inserted replaced
698:31d9be995d5c 699:d3b2e93629eb
504 for (i = 0; i < CI_SIZE; ++ i) { 504 for (i = 0; i < CI_SIZE; ++ i) {
505 GammaRamp_R [i] = red [i] ; 505 GammaRamp_R [i] = red [i] ;
506 GammaRamp_G [i] = green [i] ; 506 GammaRamp_G [i] = green [i] ;
507 GammaRamp_B [i] = blue [i] ; 507 GammaRamp_B [i] = blue [i] ;
508 } 508 }
509 SDL_UpdateRect(this->screen, 0, 0, 0, 0);
509 510
510 Dprintf ("leave NX_SetGammaRamp\n") ; 511 Dprintf ("leave NX_SetGammaRamp\n") ;
511 return 0 ; 512 return 0 ;
512 } 513 }
513 514