diff --git a/tests/general/bgra-sec-color-pointer.c b/tests/general/bgra-sec-color-pointer.c
index 80445af..8afb123 100644
--- a/tests/general/bgra-sec-color-pointer.c
+++ b/tests/general/bgra-sec-color-pointer.c
@@ -33,7 +33,7 @@
 #include "piglit-util.h"
 
 int piglit_width = 400, piglit_height = 300;
-int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
+int piglit_window_mode = GLUT_RGB | GLUT_ALPHA | GLUT_DOUBLE;
 
 static GLfloat verts[12] = {225.0, 175.0, 0.0,
 				225.0, 225.0, 0.0,
@@ -79,7 +79,7 @@ piglit_display(void)
 	glEnableClientState(GL_VERTEX_ARRAY);
 	glEnableClientState(GL_SECONDARY_COLOR_ARRAY);
 
-	glSecondaryColorPointer(4, GL_UNSIGNED_BYTE, 0, colors);
+	glSecondaryColorPointer(3, GL_UNSIGNED_BYTE, 4, colors);
 	glVertexPointer(3, GL_FLOAT, 0, verts);
 	glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
 
@@ -97,7 +97,7 @@ piglit_display(void)
 	glPushMatrix();
 	glTranslatef(0.0, -75.0, 0.0);
 
-	glSecondaryColorPointer(4, GL_UNSIGNED_BYTE, 0, colors);
+	glSecondaryColorPointer(3, GL_UNSIGNED_BYTE, 4, colors);
 	glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
 
 	glPushMatrix();
