Merge pull request #488 from bioglaze/master
Fix using a potentially uninitialized variable in triangle.cpp
This commit is contained in:
commit
c9f9d3fccb
1 changed files with 1 additions and 1 deletions
|
|
@ -787,7 +787,7 @@ public:
|
||||||
VkShaderModule loadSPIRVShader(std::string filename)
|
VkShaderModule loadSPIRVShader(std::string filename)
|
||||||
{
|
{
|
||||||
size_t shaderSize;
|
size_t shaderSize;
|
||||||
char* shaderCode;
|
char* shaderCode = NULL;
|
||||||
|
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
// Load shader from compressed asset
|
// Load shader from compressed asset
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue