From 5162ccd3a96a2c07ab9301ea0310abf2387e9439 Mon Sep 17 00:00:00 2001 From: Hapaxia Date: Wed, 19 Feb 2025 17:14:56 +0000 Subject: [PATCH] Fix Sprite3d Example Textures fixes the temporary texture passed to Sprite 3D to use the new empty parameter function call of Sprite 3D. --- examples/sprite3dExample.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sprite3dExample.cpp b/examples/sprite3dExample.cpp index d545630..ed96083 100644 --- a/examples/sprite3dExample.cpp +++ b/examples/sprite3dExample.cpp @@ -186,8 +186,8 @@ int main() } else { - sprite3d.setTexture(sf::Texture()); - sprite3d.setBackTexture(sf::Texture()); + sprite3d.setTexture(); + sprite3d.setBackTexture(); } } }