mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
Fixed a bug were MD5 meshes bottom level accel struct was updated twice.
This commit is contained in:
@@ -1093,8 +1093,6 @@ idRenderModel *R_EntityDefDynamicModel( idRenderEntityLocal *def ) {
|
||||
idRenderModelStatic* staticMesh = (idRenderModelStatic*)def->cachedDynamicModel;
|
||||
if (staticMesh)
|
||||
{
|
||||
staticMesh->UpdateDXR(def->dxrBottomAccelStruct);
|
||||
|
||||
float dxrTransformMatrix[16];
|
||||
staticMesh->UpdateDXR(def->dxrBottomAccelStruct);
|
||||
RB_CopyModelMatrixToDXRTransform(def->modelMatrix, dxrTransformMatrix);
|
||||
|
||||
Reference in New Issue
Block a user