Fix a bug where OpenSpace would crash when too many field of views are generated

This commit is contained in:
Alexander Bock
2015-05-04 11:55:53 +02:00
parent 810480d5d8
commit 314ce645f6

View File

@@ -104,7 +104,7 @@ namespace openspace{
}
void RenderableFov::allocateData(){
int points = 10;
int points = 20;
_stride[0] = points;
_isize[0] = points;
_iarray1[0] = new int[_isize[0]];