Skip to content
Snippets Groups Projects
Commit f8cc28ca authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Hugo Beauzée-Luyssen
Browse files

d3d11: remove no-op variable callback

The registered callback does nothing with the given variable name.
parent 5ce987e5
No related branches found
No related tags found
No related merge requests found
......@@ -344,8 +344,6 @@ static void D3D11CloseAdjust(filter_t *filter)
var_DelCallback( filter, "hue", AdjustCallback, sys );
var_DelCallback( filter, "saturation", AdjustCallback, sys );
var_DelCallback( filter, "gamma", AdjustCallback, sys );
var_DelCallback( filter, "brightness-threshold",
AdjustCallback, sys );
for (int i=0; i<PROCESSOR_SLICES; i++)
{
......@@ -463,8 +461,6 @@ static int D3D11OpenAdjust(filter_t *filter)
var_AddCallback( filter, "hue", AdjustCallback, sys );
var_AddCallback( filter, "saturation", AdjustCallback, sys );
var_AddCallback( filter, "gamma", AdjustCallback, sys );
var_AddCallback( filter, "brightness-threshold",
AdjustCallback, sys );
hr = ID3D11VideoDevice_CreateVideoProcessor(sys->d3d_proc.d3dviddev,
sys->d3d_proc.procEnumerator, 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment