Commit e6cd5c96 authored by Martin Finkel's avatar Martin Finkel Committed by Martin Finkel
Browse files

fix setup callback invokation

parent 049497b3
Pipeline #116721 passed with stages
in 35 minutes and 37 seconds
...@@ -109,7 +109,7 @@ bool SelectPlane_cb( void *opaque, size_t plane, void *output ) ...@@ -109,7 +109,7 @@ bool SelectPlane_cb( void *opaque, size_t plane, void *output )
bool Setup_cb( void **opaque, const libvlc_video_setup_device_cfg_t *cfg, libvlc_video_setup_device_info_t *out ) bool Setup_cb( void **opaque, const libvlc_video_setup_device_cfg_t *cfg, libvlc_video_setup_device_info_t *out )
{ {
RenderAPI_D3D11 *me = reinterpret_cast<RenderAPI_D3D11*>(opaque); RenderAPI_D3D11 *me = reinterpret_cast<RenderAPI_D3D11*>(*opaque);
return me->Setup(cfg, out); return me->Setup(cfg, out);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment