mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob
This commit is contained in:
parent
02e577f6ff
commit
bebb557f97
@ -236,7 +236,7 @@ static EGLint gContextAttribsRobustness[] = {
|
||||
|
||||
static PRLibrary* LoadApitraceLibrary()
|
||||
{
|
||||
PRLibrary* sApitraceLibrary = NULL;
|
||||
static PRLibrary* sApitraceLibrary = NULL;
|
||||
|
||||
if (sApitraceLibrary)
|
||||
return sApitraceLibrary;
|
||||
|
Loading…
Reference in New Issue
Block a user