From ed5a1d2d37e203ec2abce01c7af9ce5fdbdb49a1 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Thu, 5 Jan 2017 11:34:42 -0800 Subject: [PATCH] Fix Linux builds by correctly initializing the GPURasterizer. (#3322) The API was updated recently so platforms can report memory usage for the rasterizer to display as an overlay. --- shell/platform/linux/platform_view_glfw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/linux/platform_view_glfw.cc b/shell/platform/linux/platform_view_glfw.cc index b897b9ea957..aaa93016c42 100644 --- a/shell/platform/linux/platform_view_glfw.cc +++ b/shell/platform/linux/platform_view_glfw.cc @@ -16,7 +16,7 @@ inline PlatformViewGLFW* ToPlatformView(GLFWwindow* window) { } PlatformViewGLFW::PlatformViewGLFW() - : PlatformView(std::make_unique()), + : PlatformView(std::make_unique(nullptr)), valid_(false), glfw_window_(nullptr), buttons_(0) {