Fix SampleApp build on iOS.
authorscroggo <scroggo@google.com>
Thu, 26 Feb 2015 17:52:12 +0000 (09:52 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 17:52:12 +0000 (09:52 -0800)
Remove references to kNullGPU_DeviceType, which has been removed.

Review URL: https://codereview.chromium.org/960133004

experimental/iOSSampleApp/SkSampleUIView.mm

index 6234739..1d27e11 100644 (file)
@@ -53,7 +53,6 @@ public:
                 break;
             // these guys use the native backend
             case SampleWindow::kGPU_DeviceType:
-            case SampleWindow::kNullGPU_DeviceType:
                 fBackend = SkOSWindow::kNativeGL_BackEndType;
                 break;
             default:
@@ -78,9 +77,6 @@ public:
             case SampleWindow::kGPU_DeviceType:
                 fCurIntf = GrGLCreateNativeInterface();
                 break;
-            case SampleWindow::kNullGPU_DeviceType:
-                fCurIntf = GrGLCreateNullInterface();
-                break;
             default:
                 SkASSERT(false);
                 break;