Skip to content

Commit e9d3a41

Browse files
committed
TEMP FIX: Render GUI using JAVA2D on MacOS
1 parent 6b38753 commit e9d3a41

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ install:
4646
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then mkdir -p $HOME/Documents/Processing/libraries/ ;fi
4747
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cp -a $TRAVIS_BUILD_DIR/OpenBCI_GUI/libraries/. $HOME/Documents/Processing/libraries/ ;fi
4848
# used to create .dmg
49-
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pip3 install dmgbuild ;fi
49+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pip3 install dmgbuild ;fi
5050

5151
script:
5252
- cd $TRAVIS_BUILD_DIR

OpenBCI_GUI/OpenBCI_GUI.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ void settings() {
331331
win_w = 980;
332332
win_h = 580;
333333
}
334-
size(win_w, win_h, P2D);
334+
size(win_w, win_h, JAVA2D);
335335

336336
globalScreenResolution = new StringBuilder("Screen Resolution: ");
337337
globalScreenResolution.append(displayWidth);

0 commit comments

Comments
 (0)