forked from 0ad/0ad
add comment: tex_upload binds texture as a side effect
This was SVN commit r1154.
This commit is contained in:
parent
18e016578d
commit
02ec0a7e62
@ -17,6 +17,7 @@ extern unsigned int tex_bpp; // 16 or 32; default: 32
|
||||
|
||||
// upload the specified texture to OpenGL. Texture filter and internal format
|
||||
// may be specified to override the global defaults.
|
||||
// side effect: binds the texture to the currently active unit.
|
||||
extern int tex_upload(Handle ht, int filter_override = 0, int internal_fmt_override = 0, int format_override = 0);
|
||||
|
||||
extern int tex_free(Handle& ht);
|
||||
|
Loading…
Reference in New Issue
Block a user