mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-29 18:54:07 +00:00
more bug fixes- in particular, presetOutputs now has a destructor
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@444 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -279,7 +279,7 @@ Renderer::~Renderer() {
|
||||
std::cerr << "freeing grid elements" << std::endl;
|
||||
assert(gx > 0);
|
||||
for(x = 0; x < this->gx; x++)
|
||||
{
|
||||
{
|
||||
free(this->gridx[x]);
|
||||
free(this->gridy[x]);
|
||||
free(this->origx2[x]);
|
||||
@ -299,7 +299,7 @@ std::cerr << "grid assign begin " << std::endl;
|
||||
this->origy2 = NULL;
|
||||
this->gridx = NULL;
|
||||
this->gridy = NULL;
|
||||
|
||||
|
||||
std::cerr << "grid assign end" << std::endl;
|
||||
#endif
|
||||
|
||||
@ -399,11 +399,6 @@ void Renderer::reset(int w, int h)
|
||||
this -> vw = w;
|
||||
this -> vh = h;
|
||||
|
||||
//FIXME maybe needs called elsewhere
|
||||
//if (!this->renderTarget->usePbuffers) {
|
||||
// renderTarge->createPBuffers(w,h,this->renderTarget);
|
||||
// }
|
||||
|
||||
/* Our shading model--Gouraud (smooth). */
|
||||
glShadeModel( GL_SMOOTH);
|
||||
/* Culling. */
|
||||
|
||||
Reference in New Issue
Block a user