mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 05:51:16 -04:00
Remove 'effect' param from effect param funcs
Similar to the shader functions, the effect parameter functions take the effect as a parameter. However, the effect parameter is pretty pointless, because the effect parameter.. parameter stores the effect pointer interally.
This commit is contained in:
@@ -840,7 +840,7 @@ void OBSBasic::DrawBackdrop(float cx, float cy)
|
||||
|
||||
vec4 colorVal;
|
||||
vec4_set(&colorVal, 0.0f, 0.0f, 0.0f, 1.0f);
|
||||
effect_setvec4(solid, color, &colorVal);
|
||||
effect_setvec4(color, &colorVal);
|
||||
|
||||
technique_begin(tech);
|
||||
technique_beginpass(tech, 0);
|
||||
|
||||
Reference in New Issue
Block a user