Index: samplecode/SampleApp.h |
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h |
index d8724955e07437aae4a7323ff93c6dc4d6e3c9fd..e8eec8bf882331f506e820c329fb7402da691bd1 100644 |
--- a/samplecode/SampleApp.h |
+++ b/samplecode/SampleApp.h |
@@ -39,6 +39,9 @@ public: |
#if SK_ANGLE |
kANGLE_DeviceType, |
#endif // SK_ANGLE |
+#if SK_COMMAND_BUFFER |
+ kCommandBuffer_DeviceType, |
+#endif // SK_COMMAND_BUFFER |
#endif // SK_SUPPORT_GPU |
kDeviceTypeCnt |
}; |
@@ -50,6 +53,9 @@ public: |
#if SK_ANGLE |
case kANGLE_DeviceType: |
#endif // SK_ANGLE |
+ #if SK_COMMAND_BUFFER |
+ case kCommandBuffer_DeviceType: |
+ #endif // SK_COMMAND_BUFFER |
return true; |
default: |
return false; |