wined3d: Disable the depth stencil if it is smaller than the primary color buffer.
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 11 Mar 2011 10:28:19 +0000 (11:28 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 16 Mar 2011 15:31:53 +0000 (16:31 +0100)
commit82f6410bfcc5395bd2d5d58945402d0d736253f5
treedb86486b45492703d61bf37201f383def5bad06d
parent0fc6381bc77c67c838062cf6d963124b3940ceb2
wined3d: Disable the depth stencil if it is smaller than the primary color buffer.

This way we get correct behavior if the application has depth and stencil related tests
disabled. If we attach the depth stencil GL limits the framebuffer size to the smallest
surface, making some parts of the framebuffer inaccessible.
dlls/wined3d/context.c