Skip to content

Commit 7c1dcda

Browse files
committed
added java option to avoid black screen in Apple chip
1 parent 301361b commit 7c1dcda

File tree

1 file changed

+2
-1
lines changed
  • tutorials/detector/visualization

1 file changed

+2
-1
lines changed

tutorials/detector/visualization/hv

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
1717
if [ ! -f $DIR/$JAR ]; then
1818
curl -L https://www.dropbox.com/s/xfatlu1rp7ffavv/HepRApp.jar?dl=1 -o $DIR/$JAR
1919
fi
20-
java -jar $DIR/$JAR -opt ~/.heprapprc -file $1
20+
# https://github.com/XQuartz/XQuartz/issues/31#issuecomment-1356328281
21+
java -Dsun.java2d.xrender=false -jar $DIR/$JAR -opt ~/.heprapprc -file $1

0 commit comments

Comments
 (0)