mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
Added mipmaps to sfRenderTexture and sfTexture.
This commit is contained in:
1 parent
ae727f0a04
commit
962a685570
4 files changed
+55
No files matched your search
@@ -281,3 +281,10 @@ sfBool sfRenderTexture_isRepeated(const sfRenderTexture* renderTexture)
|
||||
{
|
||||
CSFML_CALL_RETURN(renderTexture, isRepeated(), sfFalse);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
sfBool sfRenderTexture_generateMipmap(sfRenderTexture* renderTexture)
|
||||
{
|
||||
CSFML_CALL_RETURN(renderTexture, generateMipmap(), sfFalse);
|
||||
}
|
||||
@@ -256,6 +256,13 @@ sfBool sfTexture_isRepeated(const sfTexture* texture)
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
sfBool sfTexture_generateMipmap(sfTexture* texture)
|
||||
{
|
||||
CSFML_CALL_PTR_RETURN(texture, generateMipmap(), sfFalse);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
unsigned int sfTexture_getNativeHandle(const sfTexture* texture)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user