Fix crash
This commit is contained in:
@@ -99,6 +99,11 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
struct lvrcInstance * compositor = lvrcCreateInstance(hmd);
|
struct lvrcInstance * compositor = lvrcCreateInstance(hmd);
|
||||||
|
|
||||||
|
if (!compositor)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
const int window_w = hmd_w/2;
|
const int window_w = hmd_w/2;
|
||||||
const int window_h = hmd_h;
|
const int window_h = hmd_h;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user