Centralize color conversion functions in Common/ColorConv.

This commit is contained in:
Henrik Rydgard committed 2015-01-20 17:32:54 +01:00
1 parent 41001637ce
commit 2623a48b4a
23 files changed
+386 -424

No files matched your search

+2 -2
View File
@@ -23,6 +23,7 @@
#endif
#include "Common/FileUtil.h"
#include "Common/ColorConv.h"
#include "Core/Config.h"
#include "Core/Screenshot.h"
#include "GPU/Common/GPUDebugInterface.h"
@@ -48,8 +49,7 @@ public:
}
}
bool put_buf(const void *buf, int len) override
{
bool put_buf(const void *buf, int len) override {
if (fp_) {
if (fwrite(buf, len, 1, fp_) != 1) {
fclose(fp_);