Re: Linux fullscreen support

"res" <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <[email protected]>
-------- Original-Nachricht --------
> Datum: Mon, 16 Jul 2012 20:41:40 -0400
> Von: Leon Hall <[email protected]>
> An: [email protected]
> Betreff: [Crystal-develop] Linux fullscreen support

> I also did some experimentation to see if I could find the problem with 
> the old XFree86VideoMode extension plugin. What I found was that the the 
> dotclock value for "fs_mode" becomes zero after the call to 
> "GetModeInfo" in "EnterFullScreen". Is this a pointer issue?

Interesting.
The fs_mode member follows *directly* after the wm_mode member. This strongly suggests that, indeed, the GetModeInfo() calls causes the first fs_mode member to be overwritten. Seems there is some size mismatch between what the compiler thinks wm_mode should be sized and what GetModeInfo() thinks...

-f.r.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.