projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc990a
)
[0.4.14][NTOS:INBV] Fix screen flash and more (#2821)
author
Yaroslav Kibysh
<yanet.prod@gmail.com>
Wed, 20 May 2020 22:23:17 +0000
(
01:23
+0300)
committer
Joachim Henze
<Joachim.Henze@reactos.org>
Sat, 23 May 2020 07:46:45 +0000
(09:46 +0200)
- Fix screen flash (CORE-16786);
- Don't process rotating bar if not used.
cherry picked from commit 0.4.15-dev-287-g
319374eb719f675b91e8380e836b31affb824e2b
ntoskrnl/inbv/inbv.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/inbv/inbv.c
b/ntoskrnl/inbv/inbv.c
index
5617e85
..
99f25f8
100644
(file)
--- 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 */