mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
minor updates
This commit is contained in:
parent
f2e21e1026
commit
7c5282d2a8
3 changed files with 7 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: getprocaddress.c,v 1.2 2001/11/21 17:21:41 brianp Exp $ */
|
||||
/* $Id: getprocaddress.c,v 1.3 2002/10/15 14:43:55 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
|
||||
|
|
@ -1024,12 +1024,14 @@ static const char *functions[] = {
|
|||
"glWindowPos3dvARB",
|
||||
"glWindowPos3fvARB",
|
||||
"glWindowPos3ivARB",
|
||||
"glWindowPos3svARB",
|
||||
"-EXT_stencil_two_side",
|
||||
"glActiveStencilFaceEXT",
|
||||
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
|
||||
static int
|
||||
extension_supported(const char *haystack, const char *needle)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: texrect.c,v 1.1 2002/06/15 03:08:19 brianp Exp $ */
|
||||
/* $Id: texrect.c,v 1.2 2002/10/15 14:43:55 brianp Exp $ */
|
||||
|
||||
/* GL_NV_texture_rectangle test
|
||||
*
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ static void Init( void )
|
|||
"END";
|
||||
|
||||
if (!glutExtensionSupported("GL_NV_vertex_program")) {
|
||||
printf("Sorry, this program requires GL_NV_vertex_program");
|
||||
printf("Sorry, this program requires GL_NV_vertex_program\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue