mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +03:00
fix(gx): file pointer should be initialized to nullptr because its value is used as a condition
This commit is contained in:
parent
18d7f60df0
commit
e20f185f75
@ -463,7 +463,7 @@ void CGxDevice::IShaderLoad(CGxShader* shaders[], EGxShTarget target, const char
|
||||
}
|
||||
|
||||
char path[260];
|
||||
SFile* file;
|
||||
SFile* file = nullptr;
|
||||
|
||||
while (true) {
|
||||
sprintf(path, "%s\\%s\\%s.bls", a4, g_gxShaderProfileNames[target][profile], a5);
|
||||
|
Loading…
Reference in New Issue
Block a user