MiniDisplay/FutabaVfd.cpp
changeset 11 b935de604982
parent 9 52372bbbc0f8
child 18 79801cc3bc94
     1.1 --- a/MiniDisplay/FutabaVfd.cpp	Wed May 28 17:08:47 2014 +0200
     1.2 +++ b/MiniDisplay/FutabaVfd.cpp	Wed May 28 18:44:15 2014 +0200
     1.3 @@ -97,14 +97,10 @@
     1.4  		iFrameBuffer = NULL;
     1.5  		iFrameBuffer=new BitArray(KGP12xFrameBufferPixelCount);
     1.6  		SetNonBlocking(1);
     1.7 -		//Since we can't get our display position we for it to our default
     1.8 +        //Since we can't get our display position we force it to our default
     1.9  		//This makes sure frames are in sync from the start
    1.10 +        //Clever clients will have taken care of putting back frame (0,0) before closing
    1.11  		SetDisplayPosition(iDisplayPositionX,iDisplayPositionY);
    1.12 -		//Now clear both front and back buffer on host and device
    1.13 -		Clear();
    1.14 -		SwapBuffers();
    1.15 -		Clear();
    1.16 -		SwapBuffers();
    1.17  		}
    1.18  	return success;
    1.19  	}