mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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.
This commit is contained in:
parent
eefc7aecd5
commit
ed5a1d2d37
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user