mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Implements sfTextureCoordinateType with sfTexture_bind
This commit is contained in:
1 parent
c27917ebf9
commit
30dbf80507
2 files changed
+12
-3
No files matched your search
@@ -290,9 +290,9 @@ unsigned int sfTexture_getNativeHandle(const sfTexture* texture)
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void sfTexture_bind(const sfTexture* texture)
|
||||
void sfTexture_bind(const sfTexture* texture, sfTextureCoordinateType type)
|
||||
{
|
||||
sf::Texture::bind(texture ? texture->This : NULL);
|
||||
sf::Texture::bind(texture ? texture->This : NULL, static_cast<sf::Texture::CoordinateType>(type));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user