SkDebugf(" msaa: request multisampling with the given sample count.\n");
}
-SampleWindow::SampleWindow(void* hwnd, int argc, char** argv, DeviceManager* devManager) : INHERITED(hwnd) {
+SampleWindow::SampleWindow(void* hwnd, int argc, char** argv, DeviceManager* devManager)
+ : INHERITED(hwnd)
+ , fDevManager(NULL) {
SkGMRegistyToSampleRegistry();
{
}
if (gDeviceTypeIsGPU[fDeviceType] &&
+ NULL != fDevManager &&
fDevManager->getGrRenderTarget()->numSamples() > 0) {
title.appendf(" [MSAA: %d]",
fDevManager->getGrRenderTarget()->numSamples());