Indent fixes
This commit is contained in:
parent
603ef89dad
commit
71b8789803
3 changed files with 61 additions and 61 deletions
|
@ -8,7 +8,7 @@
|
||||||
#include "video_core/utils.h"
|
#include "video_core/utils.h"
|
||||||
|
|
||||||
namespace VideoCore {
|
namespace VideoCore {
|
||||||
/**
|
/**
|
||||||
* Dumps a texture to TGA
|
* Dumps a texture to TGA
|
||||||
* @param filename String filename to dump texture to
|
* @param filename String filename to dump texture to
|
||||||
* @param width Width of texture in pixels
|
* @param width Width of texture in pixels
|
||||||
|
@ -16,7 +16,7 @@ namespace VideoCore {
|
||||||
* @param raw_data Raw RGBA8 texture data to dump
|
* @param raw_data Raw RGBA8 texture data to dump
|
||||||
* @todo This should be moved to some general purpose/common code
|
* @todo This should be moved to some general purpose/common code
|
||||||
*/
|
*/
|
||||||
void DumpTGA(std::string filename, int width, int height, u8* raw_data) {
|
void DumpTGA(std::string filename, int width, int height, u8* raw_data) {
|
||||||
TGAHeader hdr;
|
TGAHeader hdr;
|
||||||
FILE* fout;
|
FILE* fout;
|
||||||
u8 r, g, b;
|
u8 r, g, b;
|
||||||
|
@ -40,5 +40,5 @@ namespace VideoCore {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(fout);
|
fclose(fout);
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
Loading…
Reference in a new issue