• Stefan Dösinger's avatar
    wined3d: Create a VBO before returning memory. · e40bb4a8
    Stefan Dösinger authored
    The state manager calls GetMemory before it calls PreLoad on the VBO,
    and PreLoad depends on finding the VBO in the strided vertex structure.
    This can cause problems on the first draw which creates the vertex
    buffer, because the first PreLoad creates the vbo and attempts to
    convert with an incorrect strided structure.
    e40bb4a8
vertexbuffer.c 34.2 KB