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:
jp9000
2014-06-25 20:29:46 -07:00
parent f025cd6f87
commit dbb9124bf6
11 changed files with 59 additions and 92 deletions

View File

@@ -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);