diff --git a/Core/Screenshot.h b/Core/Screenshot.h index 1f4bdd6d28..28292146bc 100644 --- a/Core/Screenshot.h +++ b/Core/Screenshot.h @@ -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);