Shader & Program cleanup, Part 1: Remove cyclic dependency between programs and conte...
[platform/core/uifw/dali-core.git] / dali / internal / render / gl-resources / texture-cache.cpp
index 2191b23..db4f027 100644 (file)
@@ -254,7 +254,7 @@ void TextureCache::DiscardTexture( ResourceId id )
   }
 }
 
-void TextureCache::BindTexture( Texture *texture, ResourceId id, GLenum target, GLenum textureunit )
+void TextureCache::BindTexture( Texture *texture, ResourceId id, GLenum target, TextureUnit textureunit )
 {
   bool created = texture->Bind(target, textureunit);
   if( created && texture->UpdateOnCreate() ) // i.e. the pixel data was sent to GL