PostFx::SetTexture now takes a const sf::Image*
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1141 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
e6483d2165
commit
ab580aa35b
2 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ void PostFX::SetParameter(const std::string& Name, float X, float Y, float Z, fl
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Set a texture parameter
|
||||
////////////////////////////////////////////////////////////
|
||||
void PostFX::SetTexture(const std::string& Name, Image* Texture)
|
||||
void PostFX::SetTexture(const std::string& Name, const Image* Texture)
|
||||
{
|
||||
// Check that the current texture unit is available
|
||||
GLint MaxUnits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue