mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-19 07:37:12 +00:00
Set SHR alpha channel to 255 for consistency with other video modes. (PR #1010)
This commit is contained in:
+2
-1
@@ -837,7 +837,8 @@ void Video::VideoRefreshBuffer(uint32_t uRedrawWholeScreenVideoMode, bool bRedra
|
||||
|
||||
void Video::ClearFrameBuffer(void)
|
||||
{
|
||||
memset(GetFrameBuffer(), 0, GetFrameBufferWidth() * GetFrameBufferHeight() * sizeof(bgra_t));
|
||||
UINT32* frameBuffer = (UINT32*)GetFrameBuffer();
|
||||
std::fill(frameBuffer, frameBuffer + GetFrameBufferWidth() * GetFrameBufferHeight(), OPAQUE_BLACK);
|
||||
}
|
||||
|
||||
// Called when entering debugger, and after viewing Apple II video screen from debugger
|
||||
|
||||
Reference in New Issue
Block a user