Went back to 15 bits for VERTCACHE_FRAME_MASK

This commit is contained in:
Robert Beckebans 2023-03-03 20:32:48 +01:00
parent 6bea6cc135
commit 2583765889
2 changed files with 2 additions and 2 deletions

View file

@ -406,7 +406,7 @@ void idRenderBackend::DrawElementsWithCounters( const drawSurf_t* surf )
}
else
{
const uint64 frameNum = jointHandle >> VERTCACHE_FRAME_SHIFT & VERTCACHE_FRAME_MASK;
const uint64 frameNum = static_cast<uint64>( jointHandle >> VERTCACHE_FRAME_SHIFT ) & VERTCACHE_FRAME_MASK;
if( frameNum != ( ( vertexCache.currentFrame - 1 ) & VERTCACHE_FRAME_MASK ) )
{
idLib::Warning( "RB_DrawElementsWithCounters, jointBuffer == NULL" );

View file

@ -31,7 +31,7 @@ If you have questions concerning this license or the applicable additional terms
#ifndef __VERTEXCACHE_H__
#define __VERTEXCACHE_H__
#if 1
#if 0
// RB: increased some static memory limits for custom modder content