OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:38 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Qemu is changing colours with change the size of the window
PostPosted: Tue Mar 19, 2019 2:14 pm 
Offline
Member
Member

Joined: Sat Mar 10, 2018 10:16 am
Posts: 296
Good day!

I found strange problem. After start QEMU is all colours good:
Image

But after maximize window is colours change:
Image

Please have you any experience with this error? Can I fix it?

_________________
https://github.com/VendelinSlezak/BleskOS


Top
 Profile  
 
 Post subject: Re: Qemu is changing colours with change the size of the win
PostPosted: Tue Mar 19, 2019 3:14 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 22, 2014 6:33 pm
Posts: 934
Location: USA
Most likely because since you changed the screen size, QEMU changed the pixel depth from 15- or 16-bit pixels to 24- or 32-bit pixels and the colors will now be different.

This is most noticeable due to the fact that the square didn't change places. i.e.: If you create a larger screen size, the square will move in relationship to the pixel depth. The square didn't (noticeably) move, so the screen didn't just "zoom in", it actually grew in pixels so the square isn't at the same row/column anymore.

Anyway, we will need more information to be sure.

Ben
- http://www.fysnet.net/the_graphical_user_interface.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: SemrushBot [Bot] and 77 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group