mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: common: imagelib: replace va function calls.
This commit is contained in:
parent
6486533355
commit
9e9703e6de
@ -577,7 +577,9 @@ void Test_RunImagelib( void )
|
|||||||
|
|
||||||
for( i = 0; i < sizeof(extensions) / sizeof(extensions[0]); i++ )
|
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
|
// test saving
|
||||||
qboolean ret = FS_SaveImage( name, &rgb );
|
qboolean ret = FS_SaveImage( name, &rgb );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user