mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-23 10:12:59 +00:00
Went back to 15 bits for VERTCACHE_FRAME_MASK
This commit is contained in:
parent
6bea6cc135
commit
2583765889
2 changed files with 2 additions and 2 deletions
|
@ -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" );
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue