|
|
@ -578,9 +578,8 @@ qboolean VID_CubemapShot( const char *base, uint size, const float *vieworg, qbo |
|
|
|
r_shot->buffer = buffer; |
|
|
|
r_shot->buffer = buffer; |
|
|
|
|
|
|
|
|
|
|
|
// make sure what we have right extension
|
|
|
|
// make sure what we have right extension
|
|
|
|
Q_strncpy( basename, base, MAX_STRING ); |
|
|
|
Q_strncpy( basename, base, sizeof( basename )); |
|
|
|
COM_StripExtension( basename ); |
|
|
|
COM_ReplaceExtension( basename, ".tga", sizeof( basename )); |
|
|
|
COM_DefaultExtension( basename, ".tga" ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// write image as 6 sides
|
|
|
|
// write image as 6 sides
|
|
|
|
result = gEngfuncs.FS_SaveImage( basename, r_shot ); |
|
|
|
result = gEngfuncs.FS_SaveImage( basename, r_shot ); |
|
|
|