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:
Chinmay Garde 2017-01-05 11:34:42 -08:00 committed by GitHub
parent eefc7aecd5
commit ed5a1d2d37

View File

@ -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) {