aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_app/mac/Window_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sk_app/mac/Window_mac.cpp')
-rw-r--r--tools/sk_app/mac/Window_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sk_app/mac/Window_mac.cpp b/tools/sk_app/mac/Window_mac.cpp
index 8de5b10450..f2620518a2 100644
--- a/tools/sk_app/mac/Window_mac.cpp
+++ b/tools/sk_app/mac/Window_mac.cpp
@@ -49,7 +49,7 @@ bool Window_mac::initWindow() {
SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
- if (fRequestedDisplayParams.fMSAASampleCount > 0) {
+ if (fRequestedDisplayParams.fMSAASampleCount > 1) {
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, fRequestedDisplayParams.fMSAASampleCount);
} else {