mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-03 06:29:05 +01:00
linux (compat): Add linux to most Win64 guards
This commit is contained in:
1 parent
8cf5675892
commit
9626065598
180 files changed
+941
-935
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user