Skip to content

Commit ef2ff99

Browse files
authored
Merge pull request #29 from rpgtkoolmv/use_webgl
Let's use WebGL on all devices!
2 parents 6a28540 + f8c0b50 commit ef2ff99

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

js/rpg_managers/SceneManager.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,8 @@ SceneManager.initGraphics = function() {
6868
SceneManager.preferableRendererType = function() {
6969
if (Utils.isOptionValid('canvas')) {
7070
return 'canvas';
71-
} else if (Utils.isOptionValid('webgl')) {
72-
return 'webgl';
73-
} else if (this.shouldUseCanvasRenderer()) {
74-
return 'canvas';
7571
} else {
76-
return 'auto';
72+
return 'webgl';
7773
}
7874
};
7975

0 commit comments

Comments
 (0)