diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp index b6c6c16839c..ed4113be91f 100755 --- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -194,7 +194,7 @@ public: IDXGIAdapter *DXGIAdapter; HMODULE gdi32Handle; - PFND3DKMTQS queryD3DKMTStatistics; + PFND3DKMTQS queryD3DKMTStatistics = nullptr; // GPU memory reporting is not available before Windows 7 if (!IsWin7OrLater())