Fix a class/struct type warning.

This commit is contained in:
Unknown W. Brackets 2016-09-05 19:14:59 -07:00
parent 83469d5b18
commit bb20ed1d16

View File

@ -17,7 +17,7 @@
#pragma once
class GPUDebugBuffer;
struct GPUDebugBuffer;
enum ScreenshotFormat {
SCREENSHOT_PNG,
@ -32,6 +32,6 @@ enum ScreenshotType {
SCREENSHOT_RENDER,
};
const u8 * ConvertBufferTo888RGB(const GPUDebugBuffer & buf, u8 *& temp, u32 & w, u32 & h);
const u8 *ConvertBufferTo888RGB(const GPUDebugBuffer &buf, u8 *&temp, u32 &w, u32 &h);
bool TakeGameScreenshot(const char *filename, ScreenshotFormat fmt, ScreenshotType type, int *width = nullptr, int *height = nullptr, int maxRes = -1);