wined3d: Don't set a NULL container of type WINED3D_CONTAINER_TEXTURE.
commit22428d97e18e76ba76c10df945cf956ab1897101
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 25 Aug 2010 18:46:49 +0000 (25 20:46 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 26 Aug 2010 10:41:34 +0000 (26 12:41 +0200)
treeff5ea2c9a24ebd5785fa8523cd0d993fbd34c39f
parent69637dbed646a78f60024fc24139ceb854ed0ff3
wined3d: Don't set a NULL container of type WINED3D_CONTAINER_TEXTURE.

Any container type other than WINED3D_CONTAINER_NONE implies a valid pointer
of the specified type. This fixes a regression introduced by
368e5eb87ae983e4ea2f66b3ca2f4154b36bbcda.
dlls/wined3d/device.c
dlls/wined3d/surface.c