http://bugs.winehq.org/show_bug.cgi?id=14762
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17438|0 |1 is obsolete| | Attachment #17617|0 |1 is obsolete| | Attachment #17618|0 |1 is obsolete| | Attachment #17619|0 |1 is obsolete| | Attachment #17634|0 |1 is obsolete| |
--- Comment #42 from Tobias Jakobi liquid.acid@gmx.net 2008-12-04 18:06:40 --- Created an attachment (id=17638) --> (http://bugs.winehq.org/attachment.cgi?id=17638) [wined3d] geforcefx rect patchset (incomplete)
Still incomplete patchset for the issue.
I think I need more help here. The problem is that it "kinda" works.
What means that as long as I "hardcode" tex_dim to {800.0, 600.0} in shader_glsl_load_constants it works. Effects rendered fine, no GL errors, compilation warningless, etc.
However... const float tex_dim[2] = {surf->currentDesc.Width, surf->currentDesc.Height};
This does not seem to produce the results I would like to have.
That's what is stored there: dims: 0.000000 , 1.000000
This surely can't be the backbuffer dimensions... I think I just can't do the case there, and end up getting wrong data (from a wrong memory adress) - but not so sure about that.
Any ideas?