提交 bd47d9fe 编写于 作者: J jp9000

clear up a minor inconsistency in default effect naming

上级 cdeb81e3
......@@ -41,7 +41,7 @@ technique DrawRGB
}
}
technique DrawYUVToRGB
technique DrawYUV
{
pass
{
......
......@@ -440,7 +440,7 @@ static void obs_source_draw_texture(texture_t tex, struct source_frame *frame)
{
effect_t effect = obs->video.default_effect;
bool yuv = is_yuv(frame->format);
const char *type = yuv ? "DrawYUVToRGB" : "DrawRGB";
const char *type = yuv ? "DrawYUV" : "DrawRGB";
technique_t tech;
eparam_t param;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册