Skip to content
Commit 08bc6209 authored by Bruce Merry's avatar Bruce Merry
Browse files

Fixes to enqueue_copy_buffer_rect

There are two bugs:
1. If src_pitches or dst_pitches is specified, there is an uninitialised
   variable.
2. If ConstBuffer is given a short array and content==0, the internal
   buffer is not zero-filled, causing garbage to be passed on.

The latter probably affects a lot of other functions, but hopefully in a
positive way.

Fixes #105.
parent cd042903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment