~glproxy-dev/glproxy/trunk

« back to all changes in this revision

Viewing changes to tests/tfp/glx_tfp.c

  • Committer: Marc Ordinas i Llopis
  • Date: 2011-12-02 09:08:23 UTC
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: marc.ordinasillopis@linaro.org-20111202090823-xnj0mefd7w1nmspr
Cleanup: Clean up headers, tabs and unused parameters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
static void
333
333
Resize(Window win, unsigned int width, unsigned int height)
334
334
{
 
335
    (void)win; // Unused
335
336
   glViewport(0, 0, width, height);
336
337
}
337
338
 
339
340
static void
340
341
Redraw(Display *dpy, Window win, float rot)
341
342
{
 
343
    (void)rot; // Unused
342
344
   const GLfloat verts[4][3] = {
343
345
      { -1, -1, 0 },
344
346
      {  1, -1, 0 },
437
439
   Pixmap p;
438
440
   PROXY_BACKEND_OPTION backend = OPENGL_BACKEND;
439
441
 
 
442
   (void) argc; // Unused
 
443
   (void) argv; // Unused
 
444
 
440
445
   if ((glProxyInit(&backend) < 0) || (backend != OPENGL_BACKEND)) {
441
446
      printf("OpenGL Backend not available\n");
442
447
      exit(1);