Fixed the Shader sample on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1272 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
15c81ba493
commit
7aabc3c3c1
3 changed files with 4 additions and 3 deletions
|
@ -187,7 +187,8 @@ int main()
|
|||
case sf::Key::Numpad2 : entityShader.GotoPrevious(); break;
|
||||
case sf::Key::Numpad5 : entityShader.GotoNext(); break;
|
||||
case sf::Key::Numpad3 : globalShader.GotoPrevious(); break;
|
||||
case sf::Key::Numpad6 : globalShader.GotoNext(); break;
|
||||
case sf::Key::Numpad6 : globalShader.GotoNext(); break;
|
||||
default : break;
|
||||
}
|
||||
|
||||
// Update the text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue