comparison src/video/bwindow/SDL_BView.h @ 114:dabc453ce7f7

Now returns an error if unable to open audio on BeOS Fixed bugs in fullscreen/windowed mode changes, removed duplicated code.
author Sam Lantinga <slouken@lokigames.com>
date Fri, 20 Jul 2001 20:07:53 +0000
parents cf2af46e9e2a
children e8157fcb3114
comparison
equal deleted inserted replaced
113:e21ac1dd30f1 114:dabc453ce7f7
83 if(xoff || yoff) { 83 if(xoff || yoff) {
84 BRect dest; 84 BRect dest;
85 dest.top = updateRect.top + yoff; 85 dest.top = updateRect.top + yoff;
86 dest.left = updateRect.left + xoff; 86 dest.left = updateRect.left + xoff;
87 dest.bottom = updateRect.bottom + yoff; 87 dest.bottom = updateRect.bottom + yoff;
88 dest.right = updateRect.right + xoff;; 88 dest.right = updateRect.right + xoff;
89 DrawBitmap(image, updateRect, dest); 89 DrawBitmap(image, updateRect, dest);
90 } else { 90 } else {
91 DrawBitmap(image, updateRect, updateRect); 91 DrawBitmap(image, updateRect, updateRect);
92 } 92 }
93 } 93 }