Re: [4/7] WineD3D: Macroize CheckDeviceFormat to reduce code duplication

2008-04-03 Thread Roderick Colenbrander
In the end I think something like this is nice to do but not right now. CheckDeviceFormat has changed a lot and it is in good shape now but CreateTexture and friends don't do anything with the capabilities we report. In other words the next step should be to move flags (where possible) over to t

Re: [4/7] WineD3D: Macroize CheckDeviceFormat to reduce code duplication

2008-04-03 Thread Alexandre Julliard
Stefan Dösinger <[EMAIL PROTECTED]> writes: > The main idea is to avoid that we have screen-sized code sections in this > function that look exactly the same. This should make navigation in the code > easier It would be even better with an array of flag->function mappings and a simple loop over