engine: common: imgelib: fix declaration after statement in test code
This commit is contained in:
parent
46e2ccd2bf
commit
824a34ee1e
1 changed files with 2 additions and 1 deletions
|
@ -576,12 +576,13 @@ void Test_RunImagelib( void )
|
|||
|
||||
for( i = 0; i < sizeof(extensions) / sizeof(extensions[0]); i++ )
|
||||
{
|
||||
qboolean ret;
|
||||
char name[MAX_VA_STRING];
|
||||
|
||||
Q_snprintf( name, sizeof( name ), "test_gen.%s", extensions[i] );
|
||||
|
||||
// test saving
|
||||
qboolean ret = FS_SaveImage( name, &rgb );
|
||||
ret = FS_SaveImage( name, &rgb );
|
||||
Con_Printf( "Checking if we can save images in '%s' format...\n", extensions[i] );
|
||||
ASSERT(ret == true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue