wined3d: Fix an issue in buffer_get_sysmem.
commit1fbc6e560d06e85b09b7e8460ae941cb0ba62062
authorStefan Dösinger <stefan@codeweavers.com>
Wed, 22 Apr 2009 17:19:41 +0000 (22 19:19 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 28 Apr 2009 11:10:03 +0000 (28 13:10 +0200)
tree7d654d24be6b83e18932ca33893ce957cf0acb06
parent926fe798c50309fecb6f901e1310569d3257ff88
wined3d: Fix an issue in buffer_get_sysmem.

Checking for the doublebuffer flag can cause confusion if no VBO has
been allocated for the buffer. Checking for allocatedMemory is the
more direct approach.
dlls/wined3d/buffer.c