Skip to content

Commit dc706dc

Browse files
Update device.h
1 parent 6fd653d commit dc706dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/luisa/runtime/device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ class LC_RUNTIME_API Device {
190190
}
191191

192192
template<typename T>
193-
[[nodiscard]] auto import_external_image(PixelStorage pixel, uint2 size, void *external_native_handle, uint mip_levels = 1u, bool simultaneous_access = false, bool allow_raster_target = false) noexcept {
194-
return _create<Image<T>>(pixel, size, external_native_handle, mip_levels, simultaneous_access, allow_raster_target);
193+
[[nodiscard]] auto import_external_image(PixelStorage pixel, void *external_native_handle, uint2 size, uint mip_levels = 1u, bool simultaneous_access = false, bool allow_raster_target = false) noexcept {
194+
return _create<Image<T>>(pixel, external_native_handle, size, mip_levels, simultaneous_access, allow_raster_target);
195195
}
196196

197197
template<typename T>

0 commit comments

Comments
 (0)