Browse Source

engine: common: imagelib: replace va function calls.

pull/2/head
Andrey Akhmichin 2 years ago committed by Alibek Omarov
parent
commit
9e9703e6de
  1. 4
      engine/common/imagelib/img_main.c

4
engine/common/imagelib/img_main.c

@ -577,7 +577,9 @@ void Test_RunImagelib( void ) @@ -577,7 +577,9 @@ void Test_RunImagelib( void )
for( i = 0; i < sizeof(extensions) / sizeof(extensions[0]); i++ )
{
const char *name = va( "test_gen.%s", extensions[i] );
char name[MAX_VA_STRING];
Q_snprintf( name, sizeof( name ), "test_gen.%s", extensions[i] );
// test saving
qboolean ret = FS_SaveImage( name, &rgb );

Loading…
Cancel
Save