equal
deleted
inserted
replaced
405 case Expose: { |
405 case Expose: { |
406 #ifdef DEBUG_XEVENTS |
406 #ifdef DEBUG_XEVENTS |
407 printf("Expose (count = %d)\n", xevent.xexpose.count); |
407 printf("Expose (count = %d)\n", xevent.xexpose.count); |
408 #endif |
408 #endif |
409 if ( SDL_VideoSurface && (xevent.xexpose.count == 0) ) { |
409 if ( SDL_VideoSurface && (xevent.xexpose.count == 0) ) { |
410 if ( SDL_VideoSurface->flags & SDL_OPENGL ) { |
410 X11_RefreshDisplay(this); |
411 SDL_PrivateExpose(); |
|
412 } else { |
|
413 X11_RefreshDisplay(this); |
|
414 } |
|
415 } |
411 } |
416 } |
412 } |
417 break; |
413 break; |
418 |
414 |
419 default: { |
415 default: { |