Add ClearBits for FBitSet
Because otherwise the condition will be called all the time.
This commit is contained in:
parent
3de2a98db4
commit
c6f92b0664
|
@ -315,6 +315,7 @@ void R_BeginFrame( qboolean clearScene )
|
|||
if (vk_core.rtx && FBitSet( vk_rtx->flags, FCVAR_CHANGED )) {
|
||||
g_frame.rtx_enabled = CVAR_TO_BOOL( vk_rtx );
|
||||
}
|
||||
ClearBits( vk_rtx->flags, FCVAR_CHANGED );
|
||||
{
|
||||
gEngine.Con_NPrintf(5, "Perf scopes:");
|
||||
for (int i = 0; i < g_aprof.num_scopes; ++i) {
|
||||
|
|
Loading…
Reference in New Issue