Low vram flag removed, advanced lighting enabled

This commit is contained in:
rmn20 2025-01-17 03:22:56 +03:00
parent ee1c1ba2c7
commit 59a656edb4
2 changed files with 0 additions and 4 deletions

View file

@ -438,8 +438,6 @@ typedef cc_uint8 cc_bool;
#define CC_BUILD_NOFPU
#define DEFAULT_NET_BACKEND CC_NET_BACKEND_BUILTIN
#define CC_DISABLE_ANIMATIONS /* Very costly in FPU less system */
#define CC_BUILD_LOW_VRAM /* Only ~640 kb of VRAM */
#undef CC_BUILD_ADVLIGHTING
#elif defined __WIIU__
#define CC_BUILD_WIIU
#define CC_BUILD_CONSOLE

View file

@ -916,12 +916,10 @@ static void OnInit(void) {
EnvRenderer_Legacy = flags & ENV_LEGACY;
EnvRenderer_Minimal = flags & ENV_MINIMAL;
#ifndef CC_BUILD_LOW_VRAM
TextureEntry_Register(&clouds_entry);
TextureEntry_Register(&skybox_entry);
TextureEntry_Register(&snow_entry);
TextureEntry_Register(&rain_entry);
#endif
Event_Register_(&TextureEvents.PackChanged, NULL, OnTexturePackChanged);
Event_Register_(&TextureEvents.AtlasChanged, NULL, OnTerrainAtlasChanged);