Commit 3db5163f authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dcompiler: Make some variables static.

parent 169bdd7a
......@@ -92,7 +92,7 @@ static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface)
return blob->size;
}
const struct ID3D10BlobVtbl d3dcompiler_blob_vtbl =
static const struct ID3D10BlobVtbl d3dcompiler_blob_vtbl =
{
/* IUnknown methods */
d3dcompiler_blob_QueryInterface,
......
......@@ -39,8 +39,8 @@ struct mem_file_desc
unsigned int pos;
};
struct mem_file_desc current_shader;
LPD3DINCLUDE current_include;
static struct mem_file_desc current_shader;
static ID3DInclude *current_include;
#define INCLUDES_INITIAL_CAPACITY 4
......@@ -50,15 +50,15 @@ struct loaded_include
const char *data;
};
struct loaded_include *includes;
int includes_capacity, includes_size;
const char *parent_include;
static struct loaded_include *includes;
static int includes_capacity, includes_size;
static const char *parent_include;
char *wpp_output;
int wpp_output_capacity, wpp_output_size;
static char *wpp_output;
static int wpp_output_capacity, wpp_output_size;
char *wpp_messages;
int wpp_messages_capacity, wpp_messages_size;
static char *wpp_messages;
static int wpp_messages_capacity, wpp_messages_size;
/* Mutex used to guarantee a single invocation
of the D3DXAssembleShader function (or its variants) at a time.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment