summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/LayerBuffer.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-26 22:26:12 -0700
committerMathias Agopian <mathias@google.com>2010-05-26 22:26:12 -0700
commit010fccb0637f8a69a35ee1a7feb228d213f6d542 (patch)
tree68502a20e297f4dab20c32d2b6d4f9a614d1a99f /libs/surfaceflinger/LayerBuffer.cpp
parentdc7a80f07aa046925313cf8f6e94feaa16387fda (diff)
downloadframeworks_native-010fccb0637f8a69a35ee1a7feb228d213f6d542.zip
frameworks_native-010fccb0637f8a69a35ee1a7feb228d213f6d542.tar.gz
frameworks_native-010fccb0637f8a69a35ee1a7feb228d213f6d542.tar.bz2
minor clean-up GLclampx -> GLclampf
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r--libs/surfaceflinger/LayerBuffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp
index 740b8cd..8a582da 100644
--- a/libs/surfaceflinger/LayerBuffer.cpp
+++ b/libs/surfaceflinger/LayerBuffer.cpp
@@ -622,9 +622,9 @@ LayerBuffer::OverlaySource::~OverlaySource()
void LayerBuffer::OverlaySource::onDraw(const Region& clip) const
{
// this would be where the color-key would be set, should we need it.
- GLclampx red = 0;
- GLclampx green = 0;
- GLclampx blue = 0;
+ GLclampf red = 0;
+ GLclampf green = 0;
+ GLclampf blue = 0;
mLayer.clearWithOpenGL(clip, red, green, blue, 0);
}