diff options
| author | 2014-11-19 15:24:46 -0500 | |
|---|---|---|
| committer | 2014-11-19 15:24:46 -0500 | |
| commit | c0cd0fa78edc37795176c6fb45a52c1d015f3690 (patch) | |
| tree | 237f15dd9d986309000c995fde07088625e62239 /src/video_core/utils.cpp | |
| parent | Merge pull request #208 from lioncash/statics (diff) | |
| parent | Remove tabs in all files except in skyeye imports and in generated GL code (diff) | |
| download | yuzu-c0cd0fa78edc37795176c6fb45a52c1d015f3690.tar.gz yuzu-c0cd0fa78edc37795176c6fb45a52c1d015f3690.tar.xz yuzu-c0cd0fa78edc37795176c6fb45a52c1d015f3690.zip | |
Merge pull request #211 from linkmauve/master
Remove trailing spaces from the entire project
Diffstat (limited to 'src/video_core/utils.cpp')
| -rw-r--r-- | src/video_core/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/utils.cpp b/src/video_core/utils.cpp index c1848f923..f1156a493 100644 --- a/src/video_core/utils.cpp +++ b/src/video_core/utils.cpp | |||
| @@ -20,7 +20,7 @@ namespace VideoCore { | |||
| 20 | void DumpTGA(std::string filename, short width, short height, u8* raw_data) { | 20 | void DumpTGA(std::string filename, short width, short height, u8* raw_data) { |
| 21 | TGAHeader hdr = {0, 0, 2, 0, 0, 0, 0, width, height, 24, 0}; | 21 | TGAHeader hdr = {0, 0, 2, 0, 0, 0, 0, width, height, 24, 0}; |
| 22 | FILE* fout = fopen(filename.c_str(), "wb"); | 22 | FILE* fout = fopen(filename.c_str(), "wb"); |
| 23 | 23 | ||
| 24 | fwrite(&hdr, sizeof(TGAHeader), 1, fout); | 24 | fwrite(&hdr, sizeof(TGAHeader), 1, fout); |
| 25 | 25 | ||
| 26 | for (int y = 0; y < height; y++) { | 26 | for (int y = 0; y < height; y++) { |
| @@ -30,7 +30,7 @@ void DumpTGA(std::string filename, short width, short height, u8* raw_data) { | |||
| 30 | putc(raw_data[(3 * (y * width)) + (3 * x) + 2], fout); // r | 30 | putc(raw_data[(3 * (y * width)) + (3 * x) + 2], fout); // r |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | fclose(fout); | 34 | fclose(fout); |
| 35 | } | 35 | } |
| 36 | } // namespace | 36 | } // namespace |