Skip to content

Commit

Permalink
ensure 'zerocopy' flag is a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Apr 27, 2024
1 parent 5972ba5 commit 7ecd88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/client/gl/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def unsafe(warning: str):
if not force_enable:
raise_fatal_error(msg)
return props
props["zerocopy"] = accel_version and pyopengl_version == accel_version
props["zerocopy"] = bool(accel_version and pyopengl_version == accel_version)

props.update(get_vendor_info())
props.update(get_GLU_info())
Expand Down

0 comments on commit 7ecd88a

Please sign in to comment.