未验证 提交 a00c4876 编写于 作者: J Jim 提交者: GitHub

Merge pull request #1412 from sorayuki/master

win-capture: Avoid tex size mismatch for cursor
......@@ -166,7 +166,7 @@ static inline bool cursor_capture_icon(struct cursor_data *data, HICON icon)
bitmap = cursor_capture_icon_bitmap(&ii, &width, &height);
if (bitmap) {
if (data->last_cx != width && data->last_cy != height) {
if (data->last_cx != width || data->last_cy != height) {
data->texture = get_cached_texture(data, width, height);
data->last_cx = width;
data->last_cy = height;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册