mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Minor demo tweak.
This commit is contained in:
parent
18949c46f4
commit
bf126b0aeb
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,7 @@ struct OpenGLDemoClasses
|
|||
openGLContext.extensions.glBindBuffer (GL_ARRAY_BUFFER, 0);
|
||||
openGLContext.extensions.glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, 0);
|
||||
|
||||
if (! isMouseButtonDown())
|
||||
if (! isMouseButtonDownAnywhere())
|
||||
rotation += (float) rotationSpeed;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue