[BUG] when compiling gives GLSL error message
Closed this issue · 3 comments
DjoykeAbyah commented
Hi! When trying to run cub3d we get " 0:2(201): error: sampler arrays indexed with non-constant expressions are forbidden in GLSL 1.30 and later ", as an error message.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://github.com/DjoykeAbyah/42_CUB3D'
- clone repo
- make or make re
- run ./cub3d ./maps/basic.cub
- see error.
Expected behavior
It should not give an error
Desktop (please complete the following information):
- Apple Inc. iMac18,3
- Ubuntu 22.04.3 LTS
Additional context
We tried to reduce our code to the bare minimum to see where it goes wrong. just have a main with init.mlx in there and a infinite while loop. That still gave the same error.
Also on our Windows laptop and Mac laptop it worked just fine.
DjoykeAbyah commented
Thanks!!