st fire up windows, and brush up on my direct draw code
to make a test app? =D
On 3/31/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote:
Am Samstag 31 März 2007 11:56 schrieb Nathan Williams:
> > This->Flags |= SFLAG_NONPOW2
This also isn't correct in that case :-)
This will set th
Flags |= SFLAG_NONPOW2
--
Nathan
--
Nathan
From 72a209c869b2ec91af771df6907dbe0638a33c04 Mon Sep 17 00:00:00 2001
From: Nathan Williams <[EMAIL PROTECTED]>
Date: Sat, 31 Mar 2007 19:39:35 +1000
Subject: OpenGL ddraw renderer pow2 fix
---
dlls/wined3d/surface.c |4 ++--
1 files cha
Actually I needed to set that flag, otherwise other code further on
fails, using the incorrect height. And now that I look at it, all my
bitwise operator knowledge is coming back from university, that should
have been a bitwise or!
so:
This->Flags |= SFLAG_NONPOW2;
I'll fix it and resend an upda
dirty rectangle instead of the whole
surface.
--
Nathan
From 0842a21fd3a43643af3c7ff543804ad2823a91d4 Mon Sep 17 00:00:00 2001
From: Nathan Williams <[EMAIL PROTECTED]>
Date: Sat, 31 Mar 2007 10:05:39 +1000
Subject: Fixing power of 2 assumptions in the OpenGL ddraw renderer
---
dlls/wined3d/s
Oh sorry, my misunderstanding!
It is called from:
flush_to_framebuffer_drawpixels
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/surface.c;hb=HEAD#l956
On 3/25/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote:
Am Samstag 24 März 2007 23:59 schrieb Nathan Williams:
> It c
It crashes at:
dlls/wined3d/surface.c
d3dfmt_convert_surface:
1593 *dest++ = table[color][0];
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/surface.c;hb=HEAD#l1593
If I hack that loop to be the right height, it works without complaint.
The original setting of
Should I go ahead and remove the same from dlls/wined3d/surface.c and
submit a patch, or have you beaten me to it? =D
On 3/25/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote:
Sounds like that the surface conversion code still makes some assumptions
about the allocated memory size and the surface s
I'm working on fixing the menus in carmageddon and I have a question.
I have set the DirectDrawRenderer to opengl and it all crashes (where
it works under gdi, just displays incorrectly).
Now I traced the problem down to:
dlls/wined3d/surface.c
d3dfmt_convert_surface
The loop at:
http://source.
I asked today and was told there shouldn't be a problem and my boss is
going to check it over for me with the powers that be.
In the meantime I think I'll just start coding and not submit anything
until I eventually get it in writing.
On 3/9/07, Shachar Shemesh <[EMAIL PROTECTED]> wrote:
Jeremy
Yeah, this was the way I was leaning.
Thanks to all the replies, I'm actually in Australia, whilst I love
this job and don't believe there would be a problem (this company is
pretty laid back / not microsoft), but I did sign a contract and think
there may be an issue with one of the sections.
Whe
Hey everyone,
I have been planning to do some work on wine for a while now, but
after I started working I got myself a new programming job.
I'm worried about the copyright of any external work I do, so I need a
little advice.
What do I need from my employer to clear me to work on wine?
Is someth
Google to the rescue! (I googled Roderick's name, i was lead right to
the patches!)
http://www.kernel-traffic.org/wine/wn20051211_301.html#2
I believe this is the patch he was talking about, I'll give it a try
in the morning & see how it goes.
On 2/15/07, Stefan Dösinger <[EMAIL PROTECTED]> wro
I'm working on some direct draw code to get Carmageddon working.
I think I have found my issue in IWineD3DPaletteImpl_SetEntries
Carmageddon runs in 8 bit mode, my x windows is set at 24bit.
If I drop xorg to 8bit, wine refuses to load.
If i set it to 16bit, the Carmageddon menus are still bad,
Oh, my apologies, i thought i had the terminology down pat, but i guess not!
I added a comment correcting myself on the appdb.
On the actual code, i think the bug lies somewhere in:
IWineD3DPaletteImpl_SetEntries
During the menus this is called repeatedly.
Which looking at the source (wined3d/p
me looking into the GetDC calls now.
Thank you!
On 2/13/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote:
Am Dienstag 13 Februar 2007 02:43 schrieb Nathan Williams:
> I want to get my hands dirty in the wine source code but I need a
> little guidance, hopefully from someone working o
I want to get my hands dirty in the wine source code but I need a
little guidance, hopefully from someone working on the DirectX
sections of wine.
I've decided I want to get Carmageddon working properly.
I have already added it to the appdb
(http://appdb.winehq.org/appview.php?iVersionId=6993)
fo
16 matches
Mail list logo