1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Use 32 bits per pixel by default, since 24 bpp doesn't seem to be a supported option in the RFB 3.8 spec.

This commit is contained in:
Simo Kinnunen 2015-09-21 16:38:03 +09:00
parent 977b8c198e
commit 1f32c21c78

View file

@ -25,7 +25,7 @@ function VncConnection(conn, options) {
this._serverWidth = this.options.width this._serverWidth = this.options.width
this._serverHeight = this.options.height this._serverHeight = this.options.height
this._serverPixelFormat = new PixelFormat({ this._serverPixelFormat = new PixelFormat({
bitsPerPixel: 24 bitsPerPixel: 32
, depth: 24 , depth: 24
, bigEndianFlag: os.endianness() == 'BE' ? 1 : 0 , bigEndianFlag: os.endianness() == 'BE' ? 1 : 0
, trueColorFlag: 1 , trueColorFlag: 1