• Martin Storsjö's avatar
    d3d11_adjust: Pass a non-const pointer to atomic_load · e527a6f3
    Martin Storsjö authored
    This fixes compilation with clang, which previously errored
    out with this message:
    
    error: address argument to atomic operation must be a pointer to non-const _Atomic
          type ('const atomic_int *' (aka 'const _Atomic(int) *') invalid)
        int level = atomic_load(&p_level->level);
                    ^           ~~~~~~~~~~~~~~~
    
    (cherry picked from commit c5161337)
    e527a6f3
Name
Last commit
Last update
..
d3d11 Loading commit data...
d3d9 Loading commit data...
mmal Loading commit data...
vaapi Loading commit data...
vdpau Loading commit data...