diff options
| author | 2009-09-24 14:57:26 -0700 | |
|---|---|---|
| committer | 2009-09-24 14:57:26 -0700 | |
| commit | f2d28b74850ea0869aef2ce0727a6abb7b166a5c (patch) | |
| tree | a59d2712a9cef92619bb003b77203592e5c32a7b /libs/surfaceflinger/Layer.cpp | |
| parent | 2ddccd16496701370572e1ad3d83da056d9ad281 (diff) | |
minor SurfaceFlinger code cleanup and remove unnecessary tests
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
| -rw-r--r-- | libs/surfaceflinger/Layer.cpp | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index 67ddcf9cee2e..2894bf0b6a8b 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -223,14 +223,12 @@ void Layer::onDraw(const Region& clip) const              mFrontBufferIndex : 0;      GLuint textureName = mTextures[index].name;      if (UNLIKELY(textureName == -1LU)) { -        //LOGW("Layer %p doesn't have a texture", this);          // the texture has not been created yet, this Layer has          // in fact never been drawn into. this happens frequently with          // SurfaceView.          clearWithOpenGL(clip);          return;      } -      drawWithOpenGL(clip, mTextures[index]);  }  |