[5/7] WineD3D: Only set D3D caps when GL was loaded successfully

Stefan Dösinger stefan at codeweavers.com
Thu Jul 31 15:14:34 CDT 2008

> 2008/7/31 Stefan Dösinger <stefan at codeweavers.com>:
> > +    if(Adapters[0].opengl) {
> Shouldn't you be checking the adapter for which the caps are requested
> instead?
True. In practise it doesn't matter because its unlikely one adapter has GL
support and the other doesn't, but still using 0 here isn't right

More information about the wine-devel mailing list