mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-28 21:56:12 +01:00
Implement sfTexture_updateFromTexture
Method was declared, but not implemented. Also corrects an EntryPointNotFound exception in SFML.NET
This commit is contained in:
1 parent
cdc9bc6a21
commit
7627ef1c5d
1 file changed
+9
@@ -181,6 +181,15 @@ void sfTexture_updateFromPixels(sfTexture* texture, const sfUint8* pixels, unsig
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////
|
||||||
|
void sfTexture_updateFromTexture(sfTexture* destination, const sfTexture* texture, unsigned int x, unsigned int y);
|
||||||
|
{
|
||||||
|
CSFML_CHECK(texture);
|
||||||
|
|
||||||
|
CSFML_CALL_PTR(destination, update(texture->This, x, y));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void sfTexture_updateFromImage(sfTexture* texture, const sfImage* image, unsigned int x, unsigned int y)
|
void sfTexture_updateFromImage(sfTexture* texture, const sfImage* image, unsigned int x, unsigned int y)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user