diff options
Diffstat (limited to 'example/HelloWorld.cpp')
-rw-r--r-- | example/HelloWorld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/HelloWorld.cpp b/example/HelloWorld.cpp index 5954e71532..b20d30a780 100644 --- a/example/HelloWorld.cpp +++ b/example/HelloWorld.cpp @@ -38,7 +38,7 @@ HelloWorld::~HelloWorld() { } void HelloWorld::updateTitle() { - if (!fWindow || fWindow->sampleCount() < 0) { + if (!fWindow || fWindow->sampleCount() <= 1) { return; } |