https://git.reactos.org/?p=reactos.git;a=commitdiff;h=319374eb719f675b91e83…
commit 319374eb719f675b91e8380e836b31affb824e2b
Author: Yaroslav Kibysh <yanet.prod(a)gmail.com>
AuthorDate: Thu May 21 01:23:17 2020 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu May 21 00:23:17 2020 +0200
[NTOS:INBV] Fix screen flash and more (#2821)
- Fix screen flash (CORE-16786);
- Don't process rotating bar if not used.
---
ntoskrnl/inbv/inbv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/inbv/inbv.c b/ntoskrnl/inbv/inbv.c
index 76af14c4bd7..8613f7a3b14 100644
--- a/ntoskrnl/inbv/inbv.c
+++ b/ntoskrnl/inbv/inbv.c
@@ -1279,12 +1279,12 @@ DisplayBootBitmap(IN BOOLEAN TextMode)
#endif
#ifdef INBV_ROTBAR_IMPLEMENTED
- if (Bar)
+ if ((TempRotBarSelection == RB_SQUARE_CELLS) && Bar)
{
/* Save previous screen pixels to buffer */
InbvScreenToBufferBlt(Buffer, 0, 0, 22, 9, 24);
/* Draw the progress bar bit */
- InbvBitBlt(Bar, 0, 0);
+ BitBltPalette(Bar, TRUE, 0, 0);
/* Store it in global buffer */
InbvScreenToBufferBlt(RotBarBuffer, 0, 0, 22, 9, 24);
/* Restore screen pixels */