From 2d1ee7936e3536e45c963db004e3b512bb415fd8 Mon Sep 17 00:00:00 2001 From: brianosman Date: Thu, 5 May 2016 12:24:31 -0700 Subject: Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel buffer. (Only on Windows at the moment). Uses new effect to do the final gamma adjustment BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1919993002 Review-Url: https://codereview.chromium.org/1919993002 --- tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gpu') diff --git a/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp b/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp index 3d70be82cd..4162b8f42d 100644 --- a/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp +++ b/tools/gpu/gl/win/CreatePlatformGLTestContext_win.cpp @@ -92,7 +92,7 @@ WinGLTestContext::WinGLTestContext(GrGLStandard forcedGpuAPI) HGLRC glrc; if (nullptr == fPbufferContext) { - if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, contextType))) { + if (!(fGlRenderContext = SkCreateWGLContext(fDeviceContext, 0, false, contextType))) { SkDebugf("Could not create rendering context.\n"); this->destroyGLContext(); return; -- cgit v1.2.3