From 77edf6f263de287cd519edfc6c5fe7b1253abc7e Mon Sep 17 00:00:00 2001 From: jp9000 <obs.jim@gmail.com> Date: Wed, 25 Jun 2014 18:34:23 -0700 Subject: [PATCH] Remove unused parameter for texture file loading --- libobs/graphics/graphics.c | 3 +-- libobs/graphics/graphics.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libobs/graphics/graphics.c b/libobs/graphics/graphics.c index a9b0d58c2..8018b80df 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 7bcc2951a..e3338bc41 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) -- GitLab