forked from KolibriOS/kolibrios
* Corrected size of display_data in calculatebackground
* Fixed bug with VRR changing videomode git-svn-id: svn://kolibrios.org@322 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1ace68286b
commit
5121a68d46
@ -552,7 +552,7 @@ repos_windows:
|
|||||||
jle .lp3
|
jle .lp3
|
||||||
mov [edi+WDATA.box.width],ebx
|
mov [edi+WDATA.box.width],ebx
|
||||||
.lp3: sub ebx,[edi+WDATA.box.width]
|
.lp3: sub ebx,[edi+WDATA.box.width]
|
||||||
mov [esi+WDATA.box.left],ebx
|
mov [edi+WDATA.box.left],ebx
|
||||||
.lp4: mov eax,[edi+WDATA.box.top]
|
.lp4: mov eax,[edi+WDATA.box.top]
|
||||||
add eax,[edi+WDATA.box.height]
|
add eax,[edi+WDATA.box.height]
|
||||||
mov ebx,[0x0000fe04]
|
mov ebx,[0x0000fe04]
|
||||||
|
@ -3468,7 +3468,7 @@ calculatebackground: ; background
|
|||||||
|
|
||||||
mov edi,display_data ; set os to use all pixels
|
mov edi,display_data ; set os to use all pixels
|
||||||
mov eax,0x01010101
|
mov eax,0x01010101
|
||||||
mov ecx,0x1fff00 / 4
|
mov ecx,0x15ff00 / 4
|
||||||
rep stosd
|
rep stosd
|
||||||
|
|
||||||
mov byte [0xFFF0], 0 ; do not draw background!
|
mov byte [0xFFF0], 0 ; do not draw background!
|
||||||
|
Loading…
Reference in New Issue
Block a user