diff --git a/src/r_videoscale.cpp b/src/r_videoscale.cpp index 6f875c8af..5addcf9dc 100644 --- a/src/r_videoscale.cpp +++ b/src/r_videoscale.cpp @@ -31,7 +31,11 @@ extern bool setsizeneeded; extern int currentrenderer; +#ifdef _WIN32 extern int currentcanvas; +#else +int currentcanvas = -1; +#endif EXTERN_CVAR(Int, vid_aspect)