commit | 90dbc44c79052a9ceaab2c782a67e7d149da5385 | [log] [tgz] |
---|---|---|
author | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:46:14 2013 +0000 |
committer | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:46:14 2013 +0000 |
tree | 22e94dd23ad342ec202d0f3aa4354e4fd7c543df | |
parent | 7625f798255604cb7d9b05d91086ae37029899d1 [diff] [blame] |
Added a binding point for TEXTURE_2D_ARRAY. 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@2179 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/ResourceManager.cpp b/src/libGLESv2/ResourceManager.cpp index 442f985..8ffaa37 100644 --- a/src/libGLESv2/ResourceManager.cpp +++ b/src/libGLESv2/ResourceManager.cpp
@@ -302,6 +302,10 @@ { textureObject = new Texture3D(mRenderer, texture); } + else if (type == TEXTURE_2D_ARRAY) + { + textureObject = new Texture2DArray(mRenderer, texture); + } else { UNREACHABLE();