mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-29 17:31:07 +00:00
@@ -19,7 +19,6 @@
|
||||
#include "GLReadTexImageHelper.h"
|
||||
#include "GLScreenBuffer.h"
|
||||
|
||||
#include "gfxCrashReporterUtils.h"
|
||||
#include "gfxEnv.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "GLContextProvider.h"
|
||||
@@ -523,8 +522,6 @@ GLContext::InitWithPrefix(const char* prefix, bool trygl)
|
||||
MOZ_RELEASE_ASSERT(!mSymbols.fBindFramebuffer,
|
||||
"GFX: InitWithPrefix should only be called once.");
|
||||
|
||||
ScopedGfxFeatureReporter reporter("GL Context");
|
||||
|
||||
if (!InitWithPrefixImpl(prefix, trygl)) {
|
||||
// If initialization fails, zero the symbols to avoid hard-to-understand bugs.
|
||||
mSymbols.Zero();
|
||||
@@ -532,7 +529,6 @@ GLContext::InitWithPrefix(const char* prefix, bool trygl)
|
||||
return false;
|
||||
}
|
||||
|
||||
reporter.SetSuccessful();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user