Moves non-D3D-specific utility functions to the gl namespace.
TRAC #12043
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@225 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Framebuffer.cpp b/src/libGLESv2/Framebuffer.cpp
index fcddd91..937de42 100644
--- a/src/libGLESv2/Framebuffer.cpp
+++ b/src/libGLESv2/Framebuffer.cpp
@@ -52,19 +52,19 @@
 
 void Framebuffer::detachTexture(GLuint texture)
 {
-    if (mColorbufferHandle == texture && es2dx::IsTextureTarget(mColorbufferType))
+    if (mColorbufferHandle == texture && IsTextureTarget(mColorbufferType))
     {
         mColorbufferType = GL_NONE;
         mColorbufferHandle = 0;
     }
 
-    if (mDepthbufferHandle == texture && es2dx::IsTextureTarget(mDepthbufferType))
+    if (mDepthbufferHandle == texture && IsTextureTarget(mDepthbufferType))
     {
         mDepthbufferType = GL_NONE;
         mDepthbufferHandle = 0;
     }
 
-    if (mStencilbufferHandle == texture && es2dx::IsTextureTarget(mStencilbufferType))
+    if (mStencilbufferHandle == texture && IsTextureTarget(mStencilbufferType))
     {
         mStencilbufferType = GL_NONE;
         mStencilbufferHandle = 0;