gbm: Do not unpack drm-rs errors on conversion
This commit is contained in:
parent
a0c65114fb
commit
25f2610ea6
|
@ -274,7 +274,7 @@ where
|
|||
_ => false,
|
||||
} =>
|
||||
{
|
||||
SwapBuffersError::TemporaryFailure(Box::new(x))
|
||||
SwapBuffersError::TemporaryFailure(Box::new(Error::<E>::FramebufferCreationFailed(x)))
|
||||
}
|
||||
Error::Underlying(x) => x.into(),
|
||||
x => SwapBuffersError::ContextLost(Box::new(x)),
|
||||
|
|
Loading…
Reference in New Issue