changeset 5124:0ec550f04bbc

Fixed test
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jan 2011 20:51:54 -0800
parents 87f452305db4
children dc0dfdd58f27
files test/testplatform.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/testplatform.c	Thu Jan 27 20:49:07 2011 -0800
+++ b/test/testplatform.c	Thu Jan 27 20:51:54 2011 -0800
@@ -140,7 +140,7 @@
 {
     if (verbose) {
         printf("CPU count: %d\n", SDL_GetCPUCount());
-	printf("CPU cache line size: %d\n", SDL_GetCPUCacheLineCount());
+	printf("CPU cache line size: %d\n", SDL_GetCPUCacheLineSize());
         printf("RDTSC %s\n", SDL_HasRDTSC()? "detected" : "not detected");
         printf("MMX %s\n", SDL_HasMMX()? "detected" : "not detected");
         printf("MMX Ext %s\n", SDL_HasMMXExt()? "detected" : "not detected");
@@ -169,7 +169,6 @@
     SDL_assert_release(5 < 4);
     SDL_assert_release(0 && "This is a test");
 #endif
-    SDL_assert_release(0 && "This is a test");
 
     return (0);
 }