win-capture: avoid multiple definitions of data
At link time unless they are defined static they will conflict
This commit is contained in:
parent
45cec546bd
commit
c5fa22ae93
@ -54,7 +54,7 @@ struct d3d10_data {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct d3d10_data data = {};
|
static struct d3d10_data data = {};
|
||||||
|
|
||||||
void d3d10_free(void)
|
void d3d10_free(void)
|
||||||
{
|
{
|
||||||
|
@ -55,7 +55,7 @@ struct d3d11_data {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct d3d11_data data = {};
|
static struct d3d11_data data = {};
|
||||||
|
|
||||||
void d3d11_free(void)
|
void d3d11_free(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user