aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/gpu_unai.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpu_unai/gpu_unai.h')
-rw-r--r--plugins/gpu_unai/gpu_unai.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gpu_unai/gpu_unai.h b/plugins/gpu_unai/gpu_unai.h
index 8fb2293..6886eb8 100644
--- a/plugins/gpu_unai/gpu_unai.h
+++ b/plugins/gpu_unai/gpu_unai.h
@@ -138,6 +138,9 @@ struct gpu_unai_t {
GPUPacket PacketBuffer;
u16 *vram;
+#ifdef USE_GPULIB
+ u16 *downscale_vram;
+#endif
////////////////////////////////////////////////////////////////////////////
// Variables used only by older standalone version of gpu_unai (gpu.cpp)
#ifndef USE_GPULIB
@@ -307,7 +310,7 @@ static inline bool ProgressiveInterlaceEnabled()
// running on higher-res device or a resampling downscaler is enabled.
static inline bool PixelSkipEnabled()
{
- return gpu_unai.config.pixel_skip;
+ return gpu_unai.config.pixel_skip || gpu_unai.config.scale_hires;
}
static inline bool LineSkipEnabled()