mirror of https://github.com/mosra/magnum.git
Browse Source
Neither a driver bug nor something wrong with the code. It's just that with a tight flush rectangle the target texture may have some random garbage left around the edges, causing the comparison to fail, so it's now explicitly cleared upfront. Doesn't happen when running the offending test alone (because I suppose the memory is coming fresh from the driver, being zeroed out for security purposes), only when running after the others (where I suspect it's now reusing previous partially-filled memory which it didn't before). Doesn't happen on NVidia either.pull/651/merge
1 changed files with 14 additions and 0 deletions
Loading…
Reference in new issue