mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +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:
parent
977b8c198e
commit
1f32c21c78
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue