Skip to content
Snippets Groups Projects
Commit 6a95c78c authored by Stuart Layton's avatar Stuart Layton
Browse files

I commented out the activateAntiAliasing call and added a call to...

I commented out the activateAntiAliasing call and added a call to disableAntiAliasing for the SpikeDisplayCanvas as antialiasing messes up the projection plots. We can revert this change in the future if we come up with a way to enable anti-aliasing without completely messing up the projection plots
parent a06fccfd
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,8 @@ void SpikeDisplayCanvas::newOpenGLContextCreated()
{
std::cout<<"SpikeDisplayCanvas::newOpenGLContextCreated()"<<std::endl;
setUp2DCanvas();
activateAntiAliasing();
// activateAntiAliasing();
disableAntiAliasing();
glClearColor (0.667, 0.698, 0.718, 1.0);
resized();
......
......@@ -128,7 +128,7 @@ void ProjectionAxes::plotOldSpikes(bool allSpikes){
// std::cout<<"\tUpdating texture with all spikes: "<< stopIdx - startIdx + 1 <<std::endl;
glColor3f(1.0, 1.0, 1.0);
glPointSize(2);
glPointSize(1);
glBegin(GL_POINTS);
for (int i=startIdx; i<=stopIdx; i++)
glVertex2i(ampBuffer[0][i], ampBuffer[1][i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment