Browse Source

engine: common: imgelib: fix declaration after statement in test code

pull/2/head
Alibek Omarov 2 years ago
parent
commit
824a34ee1e
  1. 3
      engine/common/imagelib/img_main.c

3
engine/common/imagelib/img_main.c

@ -576,12 +576,13 @@ void Test_RunImagelib( void ) @@ -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…
Cancel
Save