mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[0.4.13][NTOS:INBV] Fix screen flash and more (#2821)
- Fix screen flash (CORE-16786);
- Don't process rotating bar if not used.
cherry picked from commit 0.4.15-dev-287-g 319374eb71
This commit is contained in:
parent
2e4713d711
commit
b97a2ae1ca
1 changed files with 2 additions and 2 deletions
|
@ -1277,12 +1277,12 @@ DisplayBootBitmap(IN BOOLEAN TextMode)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef INBV_ROTBAR_IMPLEMENTED
|
#ifdef INBV_ROTBAR_IMPLEMENTED
|
||||||
if (Bar)
|
if ((TempRotBarSelection == RB_SQUARE_CELLS) && Bar)
|
||||||
{
|
{
|
||||||
/* Save previous screen pixels to buffer */
|
/* Save previous screen pixels to buffer */
|
||||||
InbvScreenToBufferBlt(Buffer, 0, 0, 22, 9, 24);
|
InbvScreenToBufferBlt(Buffer, 0, 0, 22, 9, 24);
|
||||||
/* Draw the progress bar bit */
|
/* Draw the progress bar bit */
|
||||||
InbvBitBlt(Bar, 0, 0);
|
BitBltPalette(Bar, TRUE, 0, 0);
|
||||||
/* Store it in global buffer */
|
/* Store it in global buffer */
|
||||||
InbvScreenToBufferBlt(RotBarBuffer, 0, 0, 22, 9, 24);
|
InbvScreenToBufferBlt(RotBarBuffer, 0, 0, 22, 9, 24);
|
||||||
/* Restore screen pixels */
|
/* Restore screen pixels */
|
||||||
|
|
Loading…
Reference in a new issue