Remove debug check
This commit is contained in:
parent
54ab11e461
commit
f08c63b0c2
1 changed files with 0 additions and 7 deletions
|
@ -1750,13 +1750,6 @@ impl Device {
|
||||||
begin_info: &VkCommandBufferBeginInfo,
|
begin_info: &VkCommandBufferBeginInfo,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
unsafe {
|
unsafe {
|
||||||
if std::mem::transmute::<PFN_vkBeginCommandBuffer, *const c_void>(
|
|
||||||
self.device_functions.vkBeginCommandBuffer,
|
|
||||||
) == ptr::null()
|
|
||||||
{
|
|
||||||
return Err(anyhow::anyhow!("vkBeginCommandBuffer is null"));
|
|
||||||
}
|
|
||||||
|
|
||||||
let result = self
|
let result = self
|
||||||
.device_functions
|
.device_functions
|
||||||
.vkBeginCommandBuffer(command_buffer, begin_info);
|
.vkBeginCommandBuffer(command_buffer, begin_info);
|
||||||
|
|
Loading…
Reference in a new issue