Fix some crashes with rtworld enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5752 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8651ff62d8
commit
79d851d6ea
1 changed files with 2 additions and 2 deletions
|
@ -2319,7 +2319,7 @@ static GLhandleARB GLSlang_CreateShader (program_t *prog, const char *name, int
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prog && !prog->explicitsyms)
|
if (!prog || !prog->explicitsyms)
|
||||||
{ //for compat with our vulkan processor, which injects samplers in order to control layouts.
|
{ //for compat with our vulkan processor, which injects samplers in order to control layouts.
|
||||||
const char *defaultsamplernames[] =
|
const char *defaultsamplernames[] =
|
||||||
{
|
{
|
||||||
|
@ -2409,7 +2409,7 @@ static GLhandleARB GLSlang_CreateShader (program_t *prog, const char *name, int
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!prog->explicitsyms)
|
if (!prog || !prog->explicitsyms)
|
||||||
{
|
{
|
||||||
if (gl_config_nofixedfunc)
|
if (gl_config_nofixedfunc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue