mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-15 18:27:29 +00:00
Code Cleanup
This commit is contained in:
@@ -566,8 +566,10 @@ void CreateDIBSections ()
|
||||
// CREATE THE FRAME BUFFER DIB SECTION
|
||||
if (g_hDeviceBitmap)
|
||||
DeleteObject(g_hDeviceBitmap);
|
||||
g_hDeviceBitmap = CreateDIBSection(dc,g_pFramebufferinfo,DIB_RGB_COLORS,
|
||||
(LPVOID *)&g_pFramebufferbits,0,0);
|
||||
g_hDeviceBitmap = CreateDIBSection(
|
||||
dc,g_pFramebufferinfo,DIB_RGB_COLORS,
|
||||
(LPVOID *)&g_pFramebufferbits,0,0
|
||||
);
|
||||
SelectObject(g_hDeviceDC,g_hDeviceBitmap);
|
||||
|
||||
// CREATE THE SOURCE IMAGE DIB SECTION
|
||||
@@ -577,7 +579,8 @@ void CreateDIBSections ()
|
||||
DeleteObject(g_hSourceBitmap);
|
||||
g_hSourceBitmap = CreateDIBSection(
|
||||
sourcedc,g_pSourceHeader,DIB_RGB_COLORS,
|
||||
(LPVOID *)&g_pSourcePixels,0,0);
|
||||
(LPVOID *)&g_pSourcePixels,0,0
|
||||
);
|
||||
SelectObject(sourcedc,g_hSourceBitmap);
|
||||
|
||||
// CREATE THE OFFSET TABLE FOR EACH SCAN LINE IN THE SOURCE IMAGE
|
||||
|
Reference in New Issue
Block a user