diff options
author | 2010-05-26 22:26:12 -0700 | |
---|---|---|
committer | 2010-05-26 22:26:12 -0700 | |
commit | 010fccb0637f8a69a35ee1a7feb228d213f6d542 (patch) | |
tree | 68502a20e297f4dab20c32d2b6d4f9a614d1a99f /libs/surfaceflinger/LayerBase.cpp | |
parent | dc7a80f07aa046925313cf8f6e94feaa16387fda (diff) |
minor clean-up GLclampx -> GLclampf
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index ebce711730..76733a9d8c 100644 --- a/libs/surfaceflinger/LayerBase.cpp +++ b/libs/surfaceflinger/LayerBase.cpp @@ -338,13 +338,13 @@ void LayerBase::draw(const Region& inClip) const */ } -void LayerBase::clearWithOpenGL(const Region& clip, GLclampx red, - GLclampx green, GLclampx blue, - GLclampx alpha) const +void LayerBase::clearWithOpenGL(const Region& clip, GLclampf red, + GLclampf green, GLclampf blue, + GLclampf alpha) const { const DisplayHardware& hw(graphicPlane(0).displayHardware()); const uint32_t fbHeight = hw.getHeight(); - glColor4x(red,green,blue,alpha); + glColor4f(red,green,blue,alpha); glDisable(GL_TEXTURE_2D); glDisable(GL_BLEND); glDisable(GL_DITHER); |