Skip to content

Commit 828abf8

Browse files
committed
Fix null renderer SyncLerpTags
It should return a response with the expected number of items.
1 parent 6902214 commit 828abf8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/engine/null/null_renderer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ void RE_EndRegistration() { }
8080
void RE_ClearScene() { }
8181
void RE_AddRefEntityToScene( const refEntity_t * ) { }
8282
void RE_SyncRefEntities( const std::vector<EntityUpdate>& ) {}
83-
std::vector<LerpTagSync> RE_SyncLerpTags( const std::vector<LerpTagUpdate>& ) {
84-
return {};
83+
std::vector<LerpTagSync> RE_SyncLerpTags( const std::vector<LerpTagUpdate>& in ) {
84+
return std::vector<LerpTagSync>(in.size());
8585
}
8686
void RE_AddPolyToScene( qhandle_t, int, const polyVert_t* ) { }
8787
void RE_AddPolysToScene( qhandle_t, int, const polyVert_t*, int ) { }

0 commit comments

Comments
 (0)