remove bad cast
This commit is contained in:
parent
421029e1df
commit
fb0df2a5b6
1 changed files with 1 additions and 1 deletions
|
|
@ -177,5 +177,5 @@ CUSTOM_CVAR(Int, gl_spritelight, -1, CVAR_GLOBALCONFIG | CVAR_ARCHIVE)
|
|||
|
||||
int get_gl_spritelight()
|
||||
{
|
||||
return gl_spritelight < 0 ? (static_cast<VulkanRenderDevice *>(screen)->IsRayQueryEnabled() ? 1 : 0) : gl_spritelight;
|
||||
return gl_spritelight < 0 ? (screen->IsRayQueryEnabled() ? 1 : 0) : gl_spritelight;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue