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:
parent
f025cd6f87
commit
dbb9124bf6
11 changed files with 59 additions and 92 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue