wined3d: Use the internal format for renderbuffer storage.
commit147ec1a1a4d43566e5e343e159cb214500827f13
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 16 Sep 2008 12:55:40 +0000 (16 14:55 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 16 Sep 2008 20:34:03 +0000 (16 22:34 +0200)
treecd884929337bb5fcab3c15d02ad47b44f78ac21c
parentad658c22b80b34db29b5dc5e46d5ae9fcb2ec51a
wined3d: Use the internal format for renderbuffer storage.

Note that using GL_DEPTH_COMPONENT instead of eg. GL_DEPTH_COMPONENT24
will work, but will create a renderbuffer with the format of the
onscreen depth buffer.
dlls/wined3d/surface.c