Fix using a potentially uninitialized variable in triangle.cpp
This commit is contained in:
parent
4b47a1ccca
commit
0b2104b272
1 changed files with 1 additions and 1 deletions
|
|
@ -791,7 +791,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