diff options
Diffstat (limited to 'tools/gfx/cpu/cpu-helper-functions.cpp')
| -rw-r--r-- | tools/gfx/cpu/cpu-helper-functions.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/gfx/cpu/cpu-helper-functions.cpp b/tools/gfx/cpu/cpu-helper-functions.cpp index 1aa9d82eb..f21be8d66 100644 --- a/tools/gfx/cpu/cpu-helper-functions.cpp +++ b/tools/gfx/cpu/cpu-helper-functions.cpp @@ -7,12 +7,6 @@ namespace gfx { using namespace Slang; -Result SLANG_MCALL createCPUDevice(const IDevice::Desc* desc, IDevice** outDevice) -{ - RefPtr<cpu::DeviceImpl> result = new cpu::DeviceImpl(); - SLANG_RETURN_ON_FAIL(result->initialize(*desc)); - returnComPtr(outDevice, result); - return SLANG_OK; -} + } // namespace gfx |
