Rename SamplerType to TextureType (refactoring).
Issue=95
TRAC #16568
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@638 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/ResourceManager.h b/src/libGLESv2/ResourceManager.h
index d83bd7f..7baab15 100644
--- a/src/libGLESv2/ResourceManager.h
+++ b/src/libGLESv2/ResourceManager.h
@@ -26,12 +26,12 @@
class Texture;
class Renderbuffer;
-enum SamplerType
+enum TextureType
{
- SAMPLER_2D,
- SAMPLER_CUBE,
+ TEXTURE_2D,
+ TEXTURE_CUBE,
- SAMPLER_TYPE_COUNT
+ TEXTURE_TYPE_COUNT
};
class ResourceManager
@@ -64,7 +64,7 @@
void setRenderbuffer(GLuint handle, Renderbuffer *renderbuffer);
void checkBufferAllocation(unsigned int buffer);
- void checkTextureAllocation(GLuint texture, SamplerType type);
+ void checkTextureAllocation(GLuint texture, TextureType type);
void checkRenderbufferAllocation(GLuint renderbuffer);
private: