Bug 748645 - Upload TiledThebesLayerOGL outside the transaction. r=chrislord

--HG--
rename : mozglue/linker/Elfxx.h => mozglue/linker/CustomElf.h
rename : toolkit/devtools/debugger/server/dbg-server.js => toolkit/devtools/debugger/server/dbg-server.jsm
extra : rebase_source : 547cc2fb5871ba58b1c133824a06eab9d4027524
This commit is contained in:
Benoit Girard 2012-04-25 11:32:10 -04:00
parent 36622cc8e3
commit ca9934cd5d

View File

@ -134,9 +134,6 @@ TiledThebesLayerOGL::PaintedTiledLayerBuffer(const BasicTiledLayerBuffer* mTiled
mMainMemoryTiledBuffer = *mTiledBuffer;
mRegionToUpload.Or(mRegionToUpload, mMainMemoryTiledBuffer.GetLastPaintRegion());
gl()->MakeCurrent();
ProcessUploadQueue(); // TODO: Remove me; this should be unnecessary.
}
void