瀏覽代碼

libobs/graphics: Remove undefined function declarations

These functions were declared but never defined. Let's just remove them.
- effect_upload_shader_params
- ep_param_writevar
- effect_upload_params
Norihiro Kamae 2 年之前
父節點
當前提交
c8e3794a35
共有 2 個文件被更改,包括 0 次插入8 次删除
  1. 0 2
      libobs/graphics/effect-parser.h
  2. 0 6
      libobs/graphics/effect.h

+ 0 - 2
libobs/graphics/effect-parser.h

@@ -79,8 +79,6 @@ struct ep_param {
 	ep_param_array_t annotations;
 };
 
-extern void ep_param_writevar(struct dstr *dst, struct darray *use_params);
-
 static inline void ep_param_init(struct ep_param *epp, char *type, char *name,
 				 bool is_property, bool is_const,
 				 bool is_uniform)

+ 0 - 6
libobs/graphics/effect.h

@@ -192,12 +192,6 @@ static inline void effect_free(gs_effect_t *effect)
 	effect->effect_dir = NULL;
 }
 
-EXPORT void effect_upload_params(gs_effect_t *effect, bool changed_only);
-EXPORT void effect_upload_shader_params(gs_effect_t *effect,
-					gs_shader_t *shader,
-					struct darray *pass_params,
-					bool changed_only);
-
 #ifdef __cplusplus
 }
 #endif