Reworked internal anisotropic filtering code to be more concise and intuitive

This commit is contained in:
Alex Szpakowski
2013-03-21 12:21:13 -03:00
parent 7e753a0acb
commit 2009124cf9
16 changed files with 43 additions and 150 deletions
+2 -1
View File
@@ -71,8 +71,9 @@ void deleteTexture(GLuint texture);
/**
* Sets the image filter mode for the currently bound texture.
* Returns the actual amount of anisotropic filtering set.
*/
void setTextureFilter(const graphics::Image::Filter &f);
float setTextureFilter(const graphics::Image::Filter &f);
/**
* Returns the image filter mode for the currently bound texture.