diff --git a/tests/spec/gl-3.1/max-samplers.c b/tests/spec/gl-3.1/max-samplers.c
index 9a9c7e3..2ee1226 100644
--- a/tests/spec/gl-3.1/max-samplers.c
+++ b/tests/spec/gl-3.1/max-samplers.c
@@ -32,10 +32,10 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_core_version = 31;
+	config.supports_gl_compat_version = 20;
 
-	config.window_width = 128;
-	config.window_height = 128;
+	config.window_width = 300;
+	config.window_height = 300;
 	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
 
 PIGLIT_GL_TEST_CONFIG_END
@@ -227,6 +227,10 @@ piglit_init(int argc, char **argv)
 	glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &max_fs_textures);
 	glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &max_vs_textures);
 	glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &max_combined_textures);
+	printf("GL_MAX_TEXTURE_IMAGE_UNITS = %d\n", max_fs_textures);
+	printf("GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = %d\n", max_vs_textures);
+	printf("GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = %d\n", max_combined_textures);
+
 	assert(max_fs_textures <= max_combined_textures);
 
 	max_vs_textures = MIN2(max_vs_textures, max_combined_textures - max_fs_textures);
