From 06be0d1157c068df17e03ebe1eeae36441ab6f75 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 7 Sep 2015 16:09:44 -0700 Subject: [PATCH] Fix read of uninitialized memory. --- src/unix/gloffscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/gloffscreen.cpp b/src/unix/gloffscreen.cpp index 9757b03..00c141a 100644 --- a/src/unix/gloffscreen.cpp +++ b/src/unix/gloffscreen.cpp @@ -12,7 +12,7 @@ #include "gloffscreen.h" #include "solvespace.h" -GLOffscreen::GLOffscreen() : _pixels(NULL), _pixels_inv(NULL) { +GLOffscreen::GLOffscreen() : _pixels(NULL), _pixels_inv(NULL), _width(0), _height(0) { #ifndef __APPLE__ if(glewInit() != GLEW_OK) oops();