mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-22 11:21:09 +00:00
- Fixed no rendering with shadowmaps enabled and render buffers disabled.
This commit is contained in:
parent
c674c3ff72
commit
dfe032dc8a
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ bool FShadowMap::ShadowTest(ADynamicLight *light, const DVector3 &pos)
|
||||||
|
|
||||||
bool FShadowMap::IsEnabled() const
|
bool FShadowMap::IsEnabled() const
|
||||||
{
|
{
|
||||||
return gl_light_shadowmap && !!(gl.flags & RFL_SHADER_STORAGE_BUFFER);
|
return gl_renderbuffers && gl_light_shadowmap && !!(gl.flags & RFL_SHADER_STORAGE_BUFFER);
|
||||||
}
|
}
|
||||||
|
|
||||||
int FShadowMap::ShadowMapIndex(ADynamicLight *light)
|
int FShadowMap::ShadowMapIndex(ADynamicLight *light)
|
||||||
|
|
Loading…
Reference in a new issue