d3d9: Use more reasonable texture dimensions.
commit5780b9b56d15ed46330ec532dd29e79cdf74b032
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 6 Oct 2008 17:09:53 +0000 (6 19:09 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 7 Oct 2008 10:11:40 +0000 (7 12:11 +0200)
treea1085bdb5ef9608b0826c1e53eb98800bd4321d1
parent420cb678e157e5747942d6a2116bfe0c46da56bb
d3d9: Use more reasonable texture dimensions.

caps.MaxTextureWidth / caps.MaxTextureHeight can potentially be very
large, which could cause a driver to run out of memory. Arguably the
driver shouldn't report such large limits, but there's no reason for
us to create a texture larger than 1024x1024 either.
dlls/d3d9/tests/visual.c