From bb20ed1d1659a671153cb8e70a3df38dac5bbd1e Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 5 Sep 2016 19:14:59 -0700 Subject: [PATCH] Fix a class/struct type warning. --- Core/Screenshot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);