Wed, 27 Aug 2008 14:12:19 +0000
Fixed a likely cause for the heap corruption in ok_account_prefs_cb(), as well
as a memory leak. It was because I freed the original instead of the copy.
See diff for details.
#include"glm.h" #include <GL/gl.h> #include <GL/glu.h> void init_lists(GLint** lists, GLMmodel*** models, int num_lists, char* name, float my_scale); int compute_lid(BOOL open, int curr_lid, int max); void apply_output_mode(FACE f, GLfloat* angle, GLfloat* yangle, BOOL* left_open, BOOL* right_open, GLfloat* open, DIRECTION* dir);