linux (compat): Add linux to most Win64 guards

This commit is contained in:
Anaël committed 2026-11-29 13:33:39 +01:00
1 parent 8cf5675892
commit 9626065598
180 files changed
+941 -935

No files matched your search

+2 -2
View File
@@ -92,7 +92,7 @@
#include "GuardianRenderer.h"
#include "GuardianModel.h"
#include "MobRenderer.h"
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
#include "DynamicLighting.h"
#endif
@@ -302,7 +302,7 @@ void EntityRenderDispatcher::render(shared_ptr<Entity> entity, float a)
{
col = SharedConstants::FULLBRIGHT_LIGHTVALUE;
}
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
else
{
col = DynamicLighting::getLightmapWithDynamicLight(Mth::floor(entity->xOld + (entity->x - entity->xOld) * a), Mth::floor(entity->yOld + (entity->y - entity->yOld) * a), Mth::floor(entity->zOld + (entity->z - entity->zOld) * a), col);