ppsspp/macshaders.sh

12 lines
225 B
Bash
Raw Normal View History

2012-11-01 15:19:01 +00:00
# AWFUL way to make the shaders macosx compatible!
cd assets/shaders
for i in *.vs *.fs
do
sed -i '' s/lowp\ //g $i
sed -i '' s/highp\ //g $i
sed -i '' s/mediump\ //g $i
sed -i '' s/#version\ 140//g $i
done
cd ../..