comparison src/video/bwindow/SDL_sysvideo.cc @ 115:7be1046c4a68

Removed debug info accidentally comitted
author Sam Lantinga <slouken@libsdl.org>
date Sat, 21 Jul 2001 18:36:37 +0000
parents dabc453ce7f7
children b69bb2a368a0
comparison
equal deleted inserted replaced
114:dabc453ce7f7 115:7be1046c4a68
414 /* Calculate offsets - used either to center window 414 /* Calculate offsets - used either to center window
415 * (windowed mode) or to set drawing offsets (fullscreen mode) 415 * (windowed mode) or to set drawing offsets (fullscreen mode)
416 */ 416 */
417 xoff = (bounds.IntegerWidth() - width)/2; 417 xoff = (bounds.IntegerWidth() - width)/2;
418 yoff = (bounds.IntegerHeight() - height)/2; 418 yoff = (bounds.IntegerHeight() - height)/2;
419 printf("Setting X/Y offset: %d/%d\n", xoff, yoff);
420 if ( fullscreen ) { 419 if ( fullscreen ) {
421 /* Set offset for drawing */ 420 /* Set offset for drawing */
422 SDL_Win->SetXYOffset(xoff, yoff); 421 SDL_Win->SetXYOffset(xoff, yoff);
423 } else { 422 } else {
424 /* Center window and reset the drawing offset */ 423 /* Center window and reset the drawing offset */