Re: dlls/wined3d/state.c -- fix error handling
Dec. 4, 2007
5:35 a.m.
Am Dienstag, 4. Dezember 2007 01:34:55 schrieb Gerald Pfeifer:
This looks like a mistaken consistency check. The code where mapped_stage is set looks as follows:
DWORD mapped_stage = stateblock->wineD3DDevice->texUnitMap[texUnit];
and at other places we do check for -1, so this looks like another bug in error handling. In fact the texUnitMap entries are never set to any value < 0 other than -1, so it doesn't make much difference, but for the sake of consistency we should check for -1 here as well
6687
Age (days ago)
6687
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger