Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow

This commit is contained in:
Robert O'Callahan 2011-04-06 16:38:01 -07:00
Родитель 92e9a3b67d
Коммит a85ed65a9f
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -575,6 +575,7 @@ BasicBufferOGL::BeginPaint(ContentType aContentType,
// self-copy but we're not going to do that in GL yet.
// We can't do a real self-copy because the buffer is rotated.
// So allocate a new buffer for the destination.
destBufferRect = neededRegion.GetBounds();
destBuffer = CreateClampOrRepeatTextureImage(gl(), destBufferDims, contentType, bufferFlags);
if (!destBuffer)
return result;