Namespace fixes

This commit is contained in:
Magnus Norddahl 2023-09-02 13:09:57 +02:00
commit 375e71dc0d
13 changed files with 81 additions and 89 deletions

View file

@ -530,11 +530,11 @@ void VulkanRenderDevice::PrintStartupLog()
Printf("Min. uniform buffer offset alignment: %" PRIu64 "\n", limits.minUniformBufferOffsetAlignment);
}
void VulkanRenderDevice::SetLevelMesh(hwrenderer::LevelMesh* mesh)
void VulkanRenderDevice::SetLevelMesh(LevelMesh* mesh)
{
mRaytrace->SetLevelMesh(mesh);
static hwrenderer::LevelMesh* lastMesh = nullptr; // Temp hack; Since this function is called every frame we only want to do this once
static LevelMesh* lastMesh = nullptr; // Temp hack; Since this function is called every frame we only want to do this once
if (lastMesh != mesh && mesh->Surfaces.Size() > 0)
{
lastMesh = mesh;