d3d11: Make "layers" static in D3D11CoreRegisterLayers().

This commit is contained in:
Henri Verbeet 2015-08-25 12:48:47 +02:00 committed by Alexandre Julliard
parent 1a23e2fa0b
commit b87eb8d947
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ static HRESULT WINAPI layer_create(enum dxgi_device_layer_id id, void **layer_ba
HRESULT WINAPI D3D11CoreRegisterLayers(void)
{
const struct dxgi_device_layer layers[] =
static const struct dxgi_device_layer layers[] =
{
{DXGI_DEVICE_LAYER_D3D10_DEVICE, layer_init, layer_get_size, layer_create},
};