Set AttribsList back to RGBA8888 bug235_bringup_0
authorbdonegan
Fri, 22 Oct 2010 11:15:40 +0100
branchbug235_bringup_0
changeset 205 c7cc034fd51d
parent 204 3f7664f3b0f4
child 206 c170e304623f
Set AttribsList back to RGBA8888
egl/sfegltest/src/eglrendering.cpp
--- a/egl/sfegltest/src/eglrendering.cpp	Fri Oct 22 11:11:46 2010 +0100
+++ b/egl/sfegltest/src/eglrendering.cpp	Fri Oct 22 11:15:40 2010 +0100
@@ -21,11 +21,12 @@
 
 
 /** Attributes to be passed into eglChooseConfig */
-const EGLint	KColorRGB565AttribList[] =
+const EGLint	KColorRGBA8888AttribList[] =
 		{
-		EGL_RED_SIZE,			5,
-		EGL_GREEN_SIZE,			6,
-		EGL_BLUE_SIZE,			5,
+		EGL_RED_SIZE,			8,
+		EGL_GREEN_SIZE,			8,
+		EGL_BLUE_SIZE,			8,
+        EGL_ALPHA_SIZE,         8,
 		EGL_SURFACE_TYPE,		EGL_WINDOW_BIT,
 		EGL_RENDERABLE_TYPE, 	EGL_OPENVG_BIT,
 		EGL_NONE
@@ -178,7 +179,7 @@
 	EGLConfig chosenConfig = 0;
 
 	// Choose the config to use
-	EGLCheckReturnError(eglChooseConfig(iDisplay, KColorRGB565AttribList, &chosenConfig, 1, &numConfigs));
+	EGLCheckReturnError(eglChooseConfig(iDisplay, KColorRGBA8888AttribList, &chosenConfig, 1, &numConfigs));
 	RDebug::Printf("CEGLRendering::ConstructL 3");
 	if (numConfigs == 0)
 		{