add env variable for wider ui

This commit is contained in:
Willem Melching
2021-06-22 11:14:44 +02:00
parent 64e4294b04
commit 9159094b62
+1 -2
View File
@@ -13,8 +13,7 @@
#include "selfdrive/hardware/hw.h"
// const int vwp_w = Hardware::TICI() ? 2160 : 1920;
const int vwp_w = 2160;
const int vwp_w = (Hardware::TICI() || (getenv("WIDE_UI") != NULL)) ? 2160 : 1920;
const int vwp_h = 1080;
inline void setMainWindow(QWidget *w) {