Index: osd.h
===================================================================
--- osd.h	(revision 20)
+++ osd.h	(revision 21)
@@ -162,17 +162,27 @@
 Will draw a uniform mask using ##color4## (RGBA color) for this frame.
 **/
 
-extern void raydium_osd_mask_texture(char *texture,GLfloat alpha);
+extern void raydium_osd_mask_texture(int texture,GLfloat alpha);
 /**
 Will draw a textured mask, with ##alpha## opacity (1 is full opacity).
 **/
 
-extern void raydium_osd_mask_texture_clip(char *texture,GLfloat alpha, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
+extern void raydium_osd_mask_texture_name(char *texture,GLfloat alpha);
 /**
-Same as above, but (x1,y1),(x2,y2) will be used as texture coords,
-in a [0,100] range.
+Same as above, but resolving texture by name.
 **/
 
+extern void raydium_osd_mask_texture_clip(int texture,GLfloat alpha, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
+/**
+Same as ##raydium_osd_mask_texture##, but (x1,y1),(x2,y2) will be used as 
+texture coords, in a [0,100] range.
+**/
+
+extern void raydium_osd_mask_texture_clip_name(char *texture,GLfloat alpha, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
+/**
+Same as above, but resolving texture by name.
+**/
+
 extern void raydium_osd_fade_callback (void);
 /**
 Internal use.