Hi, Apply this patch instead, the old patch had some sloppiness error(setting FOGSTART as FOGEND when restoring z-based fog). The problem is corrected in this patch. It also doesn't add a senseless space at the begin of the file and sets the fog to GL_FASTEST for vertex fog and GL_NICEST for table / pixel fog.
ChangeLog: Stefan Dösinger(for CodeWeavers): Correct vertex fog for transformed vertices and correctly handle non-vertex, non-table fog
On 11/06/06, Stefan Dösinger stefan@codeweavers.com wrote:
BOOL warned = FALSE;
if(!warned) {
/* TODO: Use the fog table code from old ddraw */
FIXME("Implement fog for transformed
vertices in software\n");
warned = TRUE;
}
Shouldn't "warned" be static here? Or am I misunderstanding what this is supposed to do?
Am Montag, 12. Juni 2006 10:51 schrieb H. Verbeet:
On 11/06/06, Stefan Dösinger stefan@codeweavers.com wrote:
BOOL warned = FALSE;
if(!warned) {
/* TODO: Use the fog table code from old ddraw */
FIXME("Implement fog for transformed
vertices in software\n");
warned = TRUE;
}
Shouldn't "warned" be static here? Or am I misunderstanding what this is supposed to do?
Right...
This is another update of the fog patch, it makes the BOOL warned static.
ChangeLog: Stefan Dösinger(for CodeWeavers): Correct vertex fog for transformed vertices and correctly handle non-vertex, non-table fog