Преглед изворни кода

removed printf's

tags/mesa_3_1
Brian Paul пре 27 година
родитељ
комит
94acb57278
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1
    3
      progs/xdemos/xfont.c

+ 1
- 3
progs/xdemos/xfont.c Прегледај датотеку

/* $Id: xfont.c,v 1.2 1999/11/05 08:00:49 brianp Exp $ */
/* $Id: xfont.c,v 1.3 1999/11/05 08:12:46 brianp Exp $ */


/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
static void redraw( Display *dpy, Window w ) static void redraw( Display *dpy, Window w )
{ {
static const char *text = "This is glXUseXFont()"; static const char *text = "This is glXUseXFont()";
printf("Redraw event\n");


glClear( GL_COLOR_BUFFER_BIT ); glClear( GL_COLOR_BUFFER_BIT );




static void resize( unsigned int width, unsigned int height ) static void resize( unsigned int width, unsigned int height )
{ {
printf("Resize event\n");
glViewport( 0, 0, width, height ); glViewport( 0, 0, width, height );
glMatrixMode( GL_PROJECTION ); glMatrixMode( GL_PROJECTION );
glLoadIdentity(); glLoadIdentity();

Loading…
Откажи
Сачувај