Fix crash

This commit is contained in:
2018-09-26 12:47:51 +02:00
parent 230f07da27
commit 5f69a566c2

View File

@@ -99,6 +99,11 @@ int main(int argc, char** argv)
struct lvrcInstance * compositor = lvrcCreateInstance(hmd);
if (!compositor)
{
return -1;
}
const int window_w = hmd_w/2;
const int window_h = hmd_h;