[Bug 6994] Crimsonland's background textures fail to render

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 21 21:08:52 CST 2007


--- Comment #9 from Alexei Slepov <sir-lexa at yandex.ru>  2007-12-21 21:08:51 ---
Created an attachment (id=9746)
 --> (http://bugs.winehq.org/attachment.cgi?id=9746)
My solution

Well, I found the source of trouble.
The trouble is that we can't use ordinary backbuffer to render textures, which
size is more than size of the screen.

In this case (Crimsonland) we have, by default, screen size of 800x600. But the
background texture has default size of 1024x1024, and is rendered offscreen.
So, if we are using backbuffer (in this case AUX0), we see only part of
texture, which size is exactly 800x600. We have the only way to make the
application working - to use pbuffer.

I added an attachment, which contains my variant of solving this problem. But I
would like somebody to say his opinion on it. I haven't tried to run many of
another applications with my "patch".

I think that over time there should be written a better smart backbuffer
chooser, but maybe fixing the current algorithm is enough.

p.s. If I'm not right, please don't criticize me too much, I'm newbie. =)

p.p.s. Also, there is some bug with running the game from link.. It shows a
message "Files are missing, please get a new install package..". But running
from command line is perfect.


My OS: Linux Ubuntu 7.10 x86 (Gutsy)
My Videocard: NVidia GeForce 8600GT PCI-E 256 MB  (ASUS)
Wine Version: 0.9.51

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list