dxgi: Avoid division by zero.
commit342ce213e6d00949bef65a66b32c131dd3cac3bb
authorRičardas Barkauskas <rbarkauskas@codeweavers.com>
Mon, 24 Sep 2012 18:01:44 +0000 (24 21:01 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Sep 2012 09:20:17 +0000 (25 11:20 +0200)
tree87dd414a2247a6b9d24c87e9ff3dce7e3887f844
parentd9ce33bfb0e443bef2e0c6a9557362b8ff4f3af3
dxgi: Avoid division by zero.

Based on patch by Eduard - Gabriel Munteanu.
dlls/dxgi/factory.c