Search
lxdream.org :: lxdream/test/testrend.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/testrend.c
changeset 307:a357a469f5ff
prev216:657ce4d3edd9
next346:9b495cc4db65
author nkeynes
date Wed Jan 31 10:32:25 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Add better (ie fancier) debug-print functions
file annotate diff log raw
1.1 --- a/test/testrend.c Sat Aug 19 01:51:16 2006 +0000
1.2 +++ b/test/testrend.c Wed Jan 31 10:32:25 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: testrend.c,v 1.2 2006-08-19 01:51:16 nkeynes Exp $
1.6 + * $Id: testrend.c,v 1.3 2007-01-21 05:24:27 nkeynes Exp $
1.7 *
1.8 * Renderer test cases
1.9 *
1.10 @@ -51,6 +51,12 @@
1.11 fprintf( stderr, "Skipping test '%s' - no event list\n", test_case->test_name );
1.12 }
1.13
1.14 + test_data_block_t tex = get_test_data(test_case, "textures");
1.15 + if( tex != NULL ) {
1.16 + uint32_t addr = *(uint32_t *)tex->data;
1.17 + memcpy( (char *)(0xA5000000 + addr), tex->data+4, tex->length-4 );
1.18 + }
1.19 +
1.20 test_data_block_t config_data = get_test_data( test_case, "config" );
1.21 struct ta_config *config = &default_ta_config;
1.22 if( config_data != NULL ) {
.