aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/mac
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/mac')
-rw-r--r--src/utils/mac/SkEGLContext_mac.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/utils/mac/SkEGLContext_mac.cpp b/src/utils/mac/SkEGLContext_mac.cpp
index 13bb5922ac..8ac721b439 100644
--- a/src/utils/mac/SkEGLContext_mac.cpp
+++ b/src/utils/mac/SkEGLContext_mac.cpp
@@ -15,7 +15,7 @@ bool SkEGLContext::init(int width, int height) {
AGLContext ctx;
aglGetVersion(&major, &minor);
- SkDebugf("---- agl version %d %d\n", major, minor);
+// SkDebugf("---- agl version %d %d\n", major, minor);
const GLint pixelAttrs[] = {
AGL_RGBA,
@@ -30,12 +30,11 @@ bool SkEGLContext::init(int width, int height) {
};
AGLPixelFormat format = aglChoosePixelFormat(NULL, 0, pixelAttrs);
//AGLPixelFormat format = aglCreatePixelFormat(pixelAttrs);
- SkDebugf("----- agl format %p\n", format);
+// SkDebugf("----- agl format %p\n", format);
ctx = aglCreateContext(format, NULL);
- SkDebugf("----- agl context %p\n", ctx);
+// SkDebugf("----- agl context %p\n", ctx);
aglDestroyPixelFormat(format);
- SkDebugf("---- sizeof aglcontext %d\n", sizeof(AGLContext));
/*
static const GLint interval = 1;
aglSetInteger(ctx, AGL_SWAP_INTERVAL, &interval);