progs/trivial: Use C-style comments.
authorVinson Lee <vlee@vmware.com>
Sat, 19 Dec 2009 08:28:01 +0000 (00:28 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 19 Dec 2009 08:28:01 +0000 (00:28 -0800)
progs/trivial/clear-fbo-tex.c
progs/trivial/createwin.c
progs/trivial/dlist-begin-call-end.c
progs/trivial/draw2arrays.c
progs/trivial/drawarrays.c
progs/trivial/tri-fp.c
progs/trivial/tri-logicop-none.c
progs/trivial/tri-logicop-xor.c
progs/trivial/vbo-drawarrays.c
progs/trivial/vbo-noninterleaved.c

index 238f634bf59242484002c5bb3040d715d8cd5956..ff31706fd1cc9d6bca4c2269bb6d58111b1fcec9 100644 (file)
@@ -102,8 +102,8 @@ static void Draw( void )
 
    /* draw to texture image */
    glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, MyFB);
-//   glDrawBuffer(GL_COLOR_ATTACHMENT1_EXT);
-//   glReadBuffer(GL_COLOR_ATTACHMENT1_EXT);
+   /* glDrawBuffer(GL_COLOR_ATTACHMENT1_EXT); */
+   /* glReadBuffer(GL_COLOR_ATTACHMENT1_EXT); */
 
    
    glViewport(0, 0, TexWidth, TexHeight);
index 04a088642b89387d45ceeb2734553995da8ecdec..93da30ee29439f0460a545141100d6d429abe7a2 100644 (file)
@@ -116,6 +116,6 @@ int main(int argc, char **argv)
     glutReshapeFunc(Reshape);
     glutKeyboardFunc(Key);
     glutDisplayFunc(Draw);
-//    glutMainLoop();
+    /* glutMainLoop(); */
        return 0;
 }
index da3864a02a436dfcef89914ee40406cb84413937..dbfaef3978ff5bb0fb41a59474a97918506bbb00 100644 (file)
@@ -49,7 +49,7 @@ static void Init(void)
     */
    first_list = glGenLists(1);
    glNewList(first_list, GL_COMPILE); 
-//   glColor3f(0,1,0);
+   /* glColor3f(0,1,0); */
    glEndList();
 
 
index 95a89981d3a859c1189a4f57ae02e9df7623220b..2345ae9e9edb89f7cd2b02e636f5c50ac45d810b 100644 (file)
@@ -66,7 +66,7 @@ static void Display( void )
 
    glEnable(GL_VERTEX_PROGRAM_ARB);
 
-//   glDrawArrays( GL_TRIANGLES, 0, 3 );
+   /* glDrawArrays( GL_TRIANGLES, 0, 3 ); */
    glDrawArrays( GL_TRIANGLES, 1, 3 );
 
    glFlush(); 
index 27d86682f75fa9584db30292b981de56cd80487e..f5c0a50f9a9faa19907c4c61e2ac62a1d8eebbe6 100644 (file)
@@ -77,7 +77,7 @@ static void Display( void )
 
    glEnable(GL_VERTEX_PROGRAM_ARB);
 
-//   glDrawArrays( GL_TRIANGLES, 0, 3 );
+   /* glDrawArrays( GL_TRIANGLES, 0, 3 ); */
    glDrawArrays( GL_TRIANGLES, 1, 3 );
 
    glFlush(); 
index 8f933befd3dd1e6c09827ffa2ef2d631bc3b40cd..6ecfef4d2ac5a803994e78cf4c4738dcf91da4ae 100644 (file)
@@ -42,7 +42,7 @@ static void Init(void)
    static const char *prog1 =
       "!!ARBfp1.0\n"
       "MOV  result.color, fragment.texcoord[1];\n"
-//      "MOV  result.color, fragment.color;\n"
+      /* "MOV  result.color, fragment.color;\n" */
       "END\n";
 
 
index 53c2614ac32bf9ef53892e7256375e80491c0140..2b6a3d6f5c8e71e813eaa1c144c70959db29a1c3 100644 (file)
@@ -101,7 +101,7 @@ static void Draw(void)
    glVertex3f( 0.5, -0.5, -30.0);
    glEnd();
 
-//   glLineWidth(12.0);
+   /* glLineWidth(12.0); */
 
    /* Redraw parts of the lines:
     */
index f018a851ace16e51a6d8e64342823ae70a1d3108..b8207cd6d8a6511e2f01c2b78e95241df9db7a1a 100644 (file)
@@ -105,7 +105,7 @@ static void Draw(void)
    glVertex3f( 0.5, -0.5, -30.0);
    glEnd();
 
-//   glLineWidth(12.0);
+   /* glLineWidth(12.0); */
 
    /* Redraw parts of the lines to remove them:
     */
index c29954b90330b9b0f20422ff3f1a23539612d657..cb26e841156d02d2e279c29a3f3e15fdfd620deb 100644 (file)
@@ -83,7 +83,7 @@ static void Display( void )
 
    glEnable(GL_VERTEX_PROGRAM_ARB);
 
-//   glDrawArrays( GL_TRIANGLES, 0, 3 );
+   /* glDrawArrays( GL_TRIANGLES, 0, 3 ); */
    glDrawArrays( GL_TRIANGLES, 1, 3 );
 
    glFlush(); 
index 0672ca50ff193a11b88f4d7b53a7269267be673a..f7c42a89818273176dc6df6b0d2408f20df9bde3 100644 (file)
@@ -87,8 +87,8 @@ static void Display( void )
 
    glEnable(GL_VERTEX_PROGRAM_ARB);
 
-//   glDrawArrays( GL_TRIANGLES, 0, 3 );
-//   glDrawArrays( GL_TRIANGLES, 1, 3 );
+   /* glDrawArrays( GL_TRIANGLES, 0, 3 ); */
+   /* glDrawArrays( GL_TRIANGLES, 1, 3 ); */
    glDrawArrays( GL_QUADS, 0, 4 );
 
    glFlush();