Merge change I137dac6f into eclair
* changes: backout a workaround that is not needed anymore
This commit is contained in:
@ -169,7 +169,6 @@ void LayerBlur::onDraw(const Region& clip) const
|
|||||||
// This reads the frame-buffer, so a h/w GL would have to
|
// This reads the frame-buffer, so a h/w GL would have to
|
||||||
// finish() its rendering first. we don't want to do that
|
// finish() its rendering first. we don't want to do that
|
||||||
// too often. Read data is 4-bytes aligned.
|
// too often. Read data is 4-bytes aligned.
|
||||||
glFinish();
|
|
||||||
glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels);
|
glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels);
|
||||||
|
|
||||||
// blur that texture.
|
// blur that texture.
|
||||||
|
Reference in New Issue
Block a user