mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-03-10 16:53:55 +00:00
Tidy-up for full-screen vars
This commit is contained in:
@@ -562,15 +562,15 @@ void StretchBltMemToFrameDC(void)
|
||||
int nViewportCX, nViewportCY;
|
||||
GetViewportCXCY(nViewportCX, nViewportCY);
|
||||
|
||||
FULLSCREEN_SCALE_TYPE xdest = g_win_fullscreen_offsetx;
|
||||
FULLSCREEN_SCALE_TYPE ydest = g_win_fullscreen_offsety;
|
||||
FULLSCREEN_SCALE_TYPE wdest = nViewportCX;
|
||||
FULLSCREEN_SCALE_TYPE hdest = nViewportCY;
|
||||
int xdest = GetFullScreenOffsetX();
|
||||
int ydest = GetFullScreenOffsetY();
|
||||
int wdest = nViewportCX;
|
||||
int hdest = nViewportCY;
|
||||
|
||||
BOOL bRes = StretchBlt(
|
||||
FrameGetDC(), // HDC hdcDest,
|
||||
(int)xdest, (int)(ydest), // int nXOriginDest, int nYOriginDest,
|
||||
(int)wdest, (int)(hdest), // int nWidthDest, int nHeightDest,
|
||||
xdest, ydest, // int nXOriginDest, int nYOriginDest,
|
||||
wdest, hdest, // int nWidthDest, int nHeightDest,
|
||||
GetDebuggerMemDC(), // HDC hdcSrc,
|
||||
0, 0, // int nXOriginSrc, int nYOriginSrc,
|
||||
FRAMEBUFFER_BORDERLESS_W, FRAMEBUFFER_BORDERLESS_H, // int nWidthSrc, int nHeightSrc,
|
||||
|
||||
Reference in New Issue
Block a user