[PATCH 2/5] wined3d: Assign 9_x feature levels more accurately.
Henri Verbeet
hverbeet at gmail.com
Thu May 16 13:27:33 CDT 2019
On Thu, 16 May 2019 at 22:52, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> On Thu, May 16, 2019 at 8:02 PM Henri Verbeet <hverbeet at gmail.com> wrote:
> > It seems less than ideal to depend on d3d_info for
> > feature_level_from_caps(), not in the least because it isn't
> > completely initialised yet at this point. To some extent that's
> > already true of gl_info as well, of course.
>
> Yeah, it's a bit awkward. I was undecided between that or
> reintroducing a gl_info.texture_size, I guess the latter is preferable
> after all.
Perhaps, but other options are delaying feature_level_from_caps()
until d3d_info is otherwise fully initialised, and/or passing a
wined3d_d3d_limits pointer instead.
More information about the wine-devel
mailing list