diff --git a/src/projectM-engine/PresetFrameIO.cpp b/src/projectM-engine/PresetFrameIO.cpp index 99cfc2759..ff12724be 100644 --- a/src/projectM-engine/PresetFrameIO.cpp +++ b/src/projectM-engine/PresetFrameIO.cpp @@ -123,7 +123,7 @@ void PresetOutputs::Initialize(int gx, int gy) this->rot_mesh=(float **)wipemalloc(gy * sizeof(float *)); for(x = 0; x < gx; x++) { - this->rot_mesh[x] = (float *)wipemalloc(gy * sizeof(float)); + this->rot_mesh[x] = (float *)wipemalloc(gx * sizeof(float)); } zoom_is_mesh = false; zoomexp_is_mesh =false;