mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
engine: common: imgelib: fix declaration after statement in test code
This commit is contained in:
parent
46e2ccd2bf
commit
824a34ee1e
@ -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…
x
Reference in New Issue
Block a user