Skip to content

Commit

Permalink
Fix Linux builds by correctly initializing the GPURasterizer. (flutte…
Browse files Browse the repository at this point in the history
…r#3322)

The API was updated recently so platforms can report memory usage for the
rasterizer to display as an overlay.
  • Loading branch information
chinmaygarde authored Jan 5, 2017
1 parent eefc7ae commit ed5a1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/platform/linux/platform_view_glfw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inline PlatformViewGLFW* ToPlatformView(GLFWwindow* window) {
}

PlatformViewGLFW::PlatformViewGLFW()
: PlatformView(std::make_unique<GPURasterizer>()),
: PlatformView(std::make_unique<GPURasterizer>(nullptr)),
valid_(false),
glfw_window_(nullptr),
buttons_(0) {
Expand Down

0 comments on commit ed5a1d2

Please sign in to comment.