Skip to content

Commit 3b3d08f

Browse files
committed
Fix automatic float settings when graphical mode is on
1 parent ba9a513 commit 3b3d08f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/mode_gpu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
throw "Float texture outputs are not supported on this browser";
147147
} else if (opt.floatTextures === undefined && GPUUtils.OES_texture_float) {
148148
opt.floatTextures = true;
149-
opt.floatOutput = GPUUtils.test_floatReadPixels(gpu);
149+
opt.floatOutput = GPUUtils.test_floatReadPixels(gpu) && !opt.graphical;
150150
}
151151

152152
if (!opt.dimensions || opt.dimensions.length === 0) {

0 commit comments

Comments
 (0)