NV5 doesnt like test_exa due to missing ARB_texture_rectangle so make
sure test_exa is not run on this card
--- tests.c.org	2007-10-20 22:54:40.000000000 +1300
+++ tests.c	2007-10-20 22:55:17.000000000 +1300
@@ -4722,6 +4722,15 @@
 void test_exa(void)
 {
 
+#ifndef GL_ARB_texture_rectangle
+        printf("# Sorry, no GL_ARB_texture_rectangle\n");
+#else
+	const char *extensions = (const char *)regl.GetString(GL_EXTENSIONS);
+	if (!strstr(extensions, "GL_ARB_texture_rectangle")) {
+		fprintf(stderr,"No GL_ARB_texture_rectangle extension.");
+		return;
+	}
+
 	TEST_PROLOGUE;
 	GLuint screen_texnum,modulate_texnum;
 
@@ -4824,4 +4833,5 @@
 	dump_after(0);
 	printf("# blitting ok\n");
 	TEST_EPILOGUE;
+#endif
 }
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to