Skip to content

Commit

Permalink
[embedlite] Set egl surface size. Contributes to JB#36509
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Oct 13, 2016
1 parent 909904b commit 2de4f33
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -208,6 +208,7 @@ void EmbedLiteCompositorParent::SetSurfaceSize(int width, int height)
{
if (width > 0 && height > 0 && (mEGLSurfaceSize.width != width || mEGLSurfaceSize.height != height)) {
SetEGLSurfaceSize(width, height);
mEGLSurfaceSize.SizeTo(width, height);
}
}

Expand Down

0 comments on commit 2de4f33

Please sign in to comment.