diff options
author | 2013-02-14 17:11:02 -0800 | |
---|---|---|
committer | 2013-02-14 19:19:05 -0800 | |
commit | e3c697fb929c856b59fa56a8e05a2a7eba187c3d (patch) | |
tree | fccd3662a79ea1af6124365763f2ebc8db7f6c45 /cmds/flatland/GLHelper.cpp | |
parent | 82052cff2c4da7a2af650cdd6bb7d21293742178 (diff) |
Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: Ibed34175ae273608393aaa5f0a7df207dc40d709
Diffstat (limited to 'cmds/flatland/GLHelper.cpp')
-rw-r--r-- | cmds/flatland/GLHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/flatland/GLHelper.cpp b/cmds/flatland/GLHelper.cpp index 3647897594..4f7697f4a7 100644 --- a/cmds/flatland/GLHelper.cpp +++ b/cmds/flatland/GLHelper.cpp @@ -205,7 +205,7 @@ bool GLHelper::createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, glc->setDefaultMaxBufferCount(3); glc->setConsumerUsageBits(GRALLOC_USAGE_HW_COMPOSER); - sp<ANativeWindow> anw = new SurfaceTextureClient(bq); + sp<ANativeWindow> anw = new Surface(bq); EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); if (s == EGL_NO_SURFACE) { fprintf(stderr, "eglCreateWindowSurface error: %#x\n", eglGetError()); |