Fix creating chained structs in wgpu
This commit is contained in:
parent
ce8547c8d3
commit
e6ae945b92
1 changed files with 2 additions and 2 deletions
|
|
@ -65,8 +65,8 @@ namespace psemek::wgpu
|
|||
struct chained_struct
|
||||
{
|
||||
template <typename T>
|
||||
chained_struct(T const & value)
|
||||
: impl_(to_chained_struct(value))
|
||||
chained_struct(T && value)
|
||||
: impl_(to_chained_struct(std::move(value)))
|
||||
{}
|
||||
|
||||
void * ptr() const
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue