Updated API documentation for sf::Shader
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1260 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
683f82b118
commit
9db63151e1
3 changed files with 238 additions and 44 deletions
|
@ -149,6 +149,7 @@ namespace sample_shader
|
|||
// Process events
|
||||
window.DispatchEvents();
|
||||
|
||||
// TOFIX -- using window.Input together with image.Draw apparently causes a memory corruption
|
||||
// Get the mouse position in the range [0, 1]
|
||||
//float x = window.Input.GetMouseX() / (float)window.Width;
|
||||
//float y = window.Input.GetMouseY() / (float)window.Height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue