Ensure we can't create a texture resource with zero width, to guarantee that we get a non-zero stride, since either: 1. A non-zero stride was specified in the transfer request, or 2. We will calculate a stride based on texture width which we guarantee is not zero Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com>macos/master
parent
23ccf5c1a9
commit
7a0ff8da57
Loading…
Reference in new issue