[PATCH 1/6] wined3d: Prepare GL resources before looking for an FBO entry.

Henri Verbeet hverbeet at gmail.com
Mon Oct 26 09:36:11 CDT 2015

On 22 October 2015 at 23:38, Stefan Dösinger <stefan at codeweavers.com> wrote:
> It is a bit unfortunate that we have to do this every draw now...
You may not have to, as such. You could just make doing a
prepare_location()/load_location() a requirement before calling
context_apply_fbo_state(). For things like draws you currently already
need to call load_location(), but e.g. full clears depend on
context_apply_fbo_state() to call prepare_location(). I think it would
make sense to move those to the caller as well.

More information about the wine-devel mailing list