Merge pull request #285 from tomek-brcm/null-handle
Use VK_NULL_HANDLE for null shader module.
This commit is contained in:
commit
fa9f0df469
2 changed files with 2 additions and 2 deletions
|
|
@ -205,7 +205,7 @@ VkPipelineShaderStageCreateInfo VulkanExampleBase::loadShader(std::string fileNa
|
|||
shaderStage.module = vks::tools::loadShader(fileName.c_str(), device, stage);
|
||||
#endif
|
||||
shaderStage.pName = "main"; // todo : make param
|
||||
assert(shaderStage.module != NULL);
|
||||
assert(shaderStage.module != VK_NULL_HANDLE);
|
||||
shaderModules.push_back(shaderStage.module);
|
||||
return shaderStage;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue