diff --git a/src/v_video.h b/src/v_video.h index 47e4ba9191..337cc501d9 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -553,7 +553,7 @@ public: // Retrieves a buffer containing image data for a screenshot. // Hint: Pitch can be negative for upside-down images, in which case buffer // points to the last row in the buffer, which will be the first row output. - virtual TArray GetScreenshotBuffer(int &pitch, ESSType &color_type, float &gamma) {} + virtual TArray GetScreenshotBuffer(int &pitch, ESSType &color_type, float &gamma) { return TArray(); } static float GetZNear() { return 5.f; } static float GetZFar() { return 65536.f; }