ソースを参照

Keep alpha in cursor alpha conversion

Don't touch the existing value or we might mess it up when we avoid
division by zero.
tags/v1.8.90
Pierre Ossman 6年前
コミット
a846421a73
1個のファイルの変更0行の追加1行の削除
  1. 0
    1
      common/rfb/CMsgReader.cxx

+ 0
- 1
common/rfb/CMsgReader.cxx ファイルの表示

@@ -340,7 +340,6 @@ void CMsgReader::readSetCursorWithAlpha(int width, int height, const Point& hots
buf[0] = (unsigned)buf[0] * 255/alpha;
buf[1] = (unsigned)buf[1] * 255/alpha;
buf[2] = (unsigned)buf[2] * 255/alpha;
buf[3] = alpha;

buf += 4;
}

読み込み中…
キャンセル
保存