Răsfoiți Sursa

Remove unused parameter for texture file loading

jp9000 11 ani în urmă
părinte
comite
77edf6f263
2 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  1. 1 2
      libobs/graphics/graphics.c
  2. 1 2
      libobs/graphics/graphics.h

+ 1 - 2
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;
 }
 

+ 1 - 2
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)