From 0d3c0063aa998bc32e7f22114e38a0f8df61ad65 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 26 May 2010 22:26:12 -0700 Subject: minor clean-up GLclampx -> GLclampf --- libs/surfaceflinger/LayerBase.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/surfaceflinger/LayerBase.cpp') diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index ebce71173012..76733a9d8c35 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); -- cgit v1.2.3-59-g8ed1b