Implements support for rgb8 and rgba8 renderbuffer storage formats
TRAC #12717
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@394 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/utilities.cpp b/src/libGLESv2/utilities.cpp
index 5e228ba..1f511df 100644
--- a/src/libGLESv2/utilities.cpp
+++ b/src/libGLESv2/utilities.cpp
@@ -601,8 +601,10 @@
     switch (format)
     {
       case GL_RGBA4:
-      case GL_RGB5_A1:              return D3DFMT_A8R8G8B8;
+      case GL_RGB5_A1:
+      case GL_RGBA8_OES:            return D3DFMT_A8R8G8B8;
       case GL_RGB565:               return D3DFMT_R5G6B5;
+      case GL_RGB8_OES:             return D3DFMT_X8R8G8B8;
       case GL_DEPTH_COMPONENT16:
       case GL_STENCIL_INDEX8:       
       case GL_DEPTH24_STENCIL8_OES: return D3DFMT_D24S8;