commit | c416e1cc09f1404d3dbcf23cd55956d37ebe67d2 | [log] [tgz] |
---|---|---|
author | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:45:05 2013 +0000 |
committer | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:45:05 2013 +0000 |
tree | 7953f6cb103daa352ad33a044835969e0406ed52 | |
parent | 9599656abe17aa402ac8d8f4f4f1e47dc0b7a696 [diff] [blame] |
Added a binding point for TEXTURE_3D. TRAC #22705 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2170 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/ResourceManager.cpp b/src/libGLESv2/ResourceManager.cpp index 58dd44f..442f985 100644 --- a/src/libGLESv2/ResourceManager.cpp +++ b/src/libGLESv2/ResourceManager.cpp
@@ -298,6 +298,10 @@ { textureObject = new TextureCubeMap(mRenderer, texture); } + else if (type == TEXTURE_3D) + { + textureObject = new Texture3D(mRenderer, texture); + } else { UNREACHABLE();