libobs-d3d11: Use linked list for all objects (for rebuilding)

This commit is contained in:
jp9000
2016-11-03 07:37:05 -07:00
parent 5c71f79d5f
commit 951c6892b0
10 changed files with 99 additions and 47 deletions

View File

@@ -129,7 +129,7 @@ void gs_vertex_buffer::BuildBuffers()
gs_vertex_buffer::gs_vertex_buffer(gs_device_t *device, struct gs_vb_data *data,
uint32_t flags)
: device (device),
: gs_obj (device, gs_type::gs_vertex_buffer),
dynamic ((flags & GS_DYNAMIC) != 0),
vbd (data),
numVerts (data->num)