Просмотр исходного кода

added dummy function to silence compiler warning

tags/mesa_3_3
Brian Paul 26 лет назад
Родитель
Сommit
c3501b01d1

+ 11
- 1
src/mesa/drivers/svga/svgamesa15.c Просмотреть файл

@@ -1,4 +1,4 @@
/* $Id: svgamesa15.c,v 1.5 2000/01/31 22:10:06 tanner Exp $ */
/* $Id: svgamesa15.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -198,4 +198,14 @@ void __read_rgba_pixels15( const GLcontext *ctx,
}
}

#else


/* silence compiler warning */
extern void _mesa_svga15_dummy_function(void);
void _mesa_svga15_dummy_function(void)
{
}


#endif

+ 11
- 1
src/mesa/drivers/svga/svgamesa16.c Просмотреть файл

@@ -1,4 +1,4 @@
/* $Id: svgamesa16.c,v 1.5 2000/01/31 22:10:06 tanner Exp $ */
/* $Id: svgamesa16.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -200,4 +200,14 @@ void __read_rgba_pixels16( const GLcontext *ctx,
}
}

#else


/* silence compiler warning */
extern void _mesa_svga16_dummy_function(void);
void _mesa_svga16_dummy_function(void)
{
}


#endif

+ 11
- 1
src/mesa/drivers/svga/svgamesa24.c Просмотреть файл

@@ -1,4 +1,4 @@
/* $Id: svgamesa24.c,v 1.6 2000/01/31 22:10:07 tanner Exp $ */
/* $Id: svgamesa24.c,v 1.7 2000/06/14 21:59:07 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -233,4 +233,14 @@ void __read_rgba_pixels24( const GLcontext *ctx,
}
}

#else


/* silence compiler warning */
extern void _mesa_svga24_dummy_function(void);
void _mesa_svga24_dummy_function(void)
{
}


#endif

+ 12
- 1
src/mesa/drivers/svga/svgamesa32.c Просмотреть файл

@@ -1,4 +1,4 @@
/* $Id: svgamesa32.c,v 1.6 2000/01/31 22:10:07 tanner Exp $ */
/* $Id: svgamesa32.c,v 1.7 2000/06/14 21:59:07 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -206,5 +206,16 @@ void __read_rgba_pixels32( const GLcontext *ctx,
}
}


#else


/* silence compiler warning */
extern void _mesa_svga32_dummy_function(void);
void _mesa_svga32_dummy_function(void)
{
}


#endif


+ 11
- 1
src/mesa/drivers/svga/svgamesa8.c Просмотреть файл

@@ -1,4 +1,4 @@
/* $Id: svgamesa8.c,v 1.5 2000/01/31 22:10:07 tanner Exp $ */
/* $Id: svgamesa8.c,v 1.6 2000/06/14 21:59:07 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -176,4 +176,14 @@ void __read_ci32_pixels8( const GLcontext *ctx,
}


#else


/* silence compiler warning */
extern void _mesa_svga8_dummy_function(void);
void _mesa_svga8_dummy_function(void)
{
}


#endif

+ 12
- 3
src/mesa/x86/3dnow.c Просмотреть файл

@@ -1,10 +1,10 @@
/* $Id: 3dnow.c,v 1.3 1999/11/12 04:57:22 kendallb Exp $ */
/* $Id: 3dnow.c,v 1.4 2000/06/14 21:55:11 brianp Exp $ */

/*
* Mesa 3-D graphics library
* Version: 3.1
* Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -186,4 +186,13 @@ void gl_init_3dnow_asm_transforms (void)
gl_project_clipped_v16 = gl_3dnow_project_clipped_vertices;
}

#else


/* silence compiler warning */
extern void _mesa_3dnow_dummy_function(void);
void _mesa_3dnow_dummy_function(void)
{
}

#endif

Загрузка…
Отмена
Сохранить