Fix Linux builds by correctly initializing the GPURasterizer. (flutter/engine#3322)
The API was updated recently so platforms can report memory usage for the rasterizer to display as an overlay.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user