diff --git a/libobs/graphics/graphics.c b/libobs/graphics/graphics.c index a9b0d58c2b92152c42f152055f883d26ba738c96..8018b80df89b368eb1ed3ef66407630451397d71 100644 --- a/libobs/graphics/graphics.c +++ b/libobs/graphics/graphics.c @@ -685,11 +685,10 @@ shader_t gs_create_pixelshader_from_file(const char *file, char **error_string) return shader; } -texture_t gs_create_texture_from_file(const char *file, uint32_t flags) +texture_t gs_create_texture_from_file(const char *file) { /* TODO */ UNUSED_PARAMETER(file); - UNUSED_PARAMETER(flags); return NULL; } diff --git a/libobs/graphics/graphics.h b/libobs/graphics/graphics.h index 7bcc2951af3234f8b4486ec7c6d04d3dfa3659df..e3338bc41d94d0641f0f9f3594fa96bb5c5eaa9a 100644 --- a/libobs/graphics/graphics.h +++ b/libobs/graphics/graphics.h @@ -479,8 +479,7 @@ EXPORT shader_t gs_create_vertexshader_from_file(const char *file, EXPORT shader_t gs_create_pixelshader_from_file(const char *file, char **error_string); -EXPORT texture_t gs_create_texture_from_file(const char *file, - uint32_t flags); +EXPORT texture_t gs_create_texture_from_file(const char *file); #define GS_FLIP_U (1<<0) #define GS_FLIP_V (1<<1)