Commit 048dba74 authored by Jan Möbius's avatar Jan Möbius

Some cleanup and make it build again

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7486 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1d2827c5
......@@ -327,54 +327,13 @@ glViewer::drawScenePhilipsStereo()
depthStencilTexture.del();
colorTexture.del();
// glstate_->ortho(0,glstate_->viewport_width(),glstate_->viewport_height(),0,0,256);
// // glstate_->viewport(0,0,glstate_->viewport_width(),glstate_->viewport_height());
//
//
// glstate_->reset_modelview();
//
// glDisable( GL_DEPTH_TEST );
// glDisable( GL_LIGHTING );
//
//
// // draw into the GL widget
// glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
//
//
// glBegin(GL_POINTS);
// {
// glVertex2i( 55, 15);
//
// glVertex2i( 0, 15);
//
// glVertex2i( 1, 15);
//
// glVertex2i( 2, 15);
//
// glVertex2i( 0, 0 );
// }
// glEnd();
//
// glBegin(GL_QUADS);
// {
//
// glTexCoord2f(0.0f, 0.0f); glVertex2i( 0, 5);
// glTexCoord2f(1.0f, 0.0f); glVertex2i( 0, 0);
// glTexCoord2f(1.0f, 1.0f); glVertex2i( 5, 0);
// glTexCoord2f(0.0f, 1.0f); glVertex2i( 5, 5);
//
// }
// glEnd();
//
// ======================================================================================================
// Reset projection and modelview
// ======================================================================================================
glstate_->pop_projection_matrix();
glstate_->pop_modelview_matrix();
//
// glDisable(GL_TEXTURE_2D);
//
uchar *header = new uchar[ 6 ];
header[0] = 241; // Header_ID1 = 11110001
......@@ -389,11 +348,11 @@ glViewer::drawScenePhilipsStereo()
std::vector< uchar > bitVector;
for (uint i=1; i <= 6*8; i++)
bitVector.push_back( header & (1 << i );
for (uint i=1; i <= 32; i++)
bitVector.push_back( checksum & (1 << i );
// for (uint i=1; i <= 6*8; i++)
// bitVector.push_back( header & (1 << i );
//
// for (uint i=1; i <= 32; i++)
// bitVector.push_back( checksum & (1 << i );
//render the header
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment