Implements sfTextureCoordinateType with sfTexture_bind

This commit is contained in:
Luhrel authored and Lukas Dürrenberger committed 2022-10-27 22:11:25 +02:00
1 parent c27917ebf9
commit 30dbf80507
2 files changed
+12 -3

No files matched your search

+2 -2
View File
@@ -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));
}