Optifine making rendering not work for Distant Horizons (1.18.2)

When i downloaded the optifine and moved it to my mods where my DistantHorizons mod is, when i start playing my rendering distance wont be as far and errors will come up saying "Opengl error 1280 (invalid enum)" even when i rendered that area already but when im not using optifine with my DistantHorizons mod the DH mod works, I am able to see far and no more "Opengl error 1280 (invalid enum)".
No description
1 Reply
Poilox
Poilox3mo ago
I am encountering the exact same issue as well