Skip to content

Commit

Permalink
Enforce offscreen context creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Apr 22, 2014
1 parent 4b73e9d commit b33193d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -40,6 +40,7 @@ EmbedLiteAppThreadParent::RecvInitialized()
{
LOGT();
PR_SetEnv("MOZ_USE_OMTC=1");
PR_SetEnv("MOZ_LAYERS_PREFER_OFFSCREEN=1");
mApp->Initialized();
bool accel = mApp->IsAccelerated();
mApp->SetBoolPref("layers.acceleration.disabled", !accel);
Expand Down

0 comments on commit b33193d

Please sign in to comment.