bug fixes and copyright year changes

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@427 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2006-02-26 16:45:12 +00:00
parent f6a067ee2f
commit 89ad8ec389
35 changed files with 76 additions and 66 deletions

View File

@ -1,7 +1,7 @@
#!gmake
## The OpenGL Extension Wrangler Library
## Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002, Lev Povalahev
## All rights reserved.
##

View File

@ -1,5 +1,5 @@
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
@ -207,6 +207,7 @@ $(S.DEST)/glew.c: $(EXT)/.dummy
cat $(SRC)/glew_str_tail.c >> $@
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@
perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@
perl -e "s/\(\(glBlendColor = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glBlendColor = /g" -pi $@
$(BIN)/fix_OML_sync_control.sh $@
rm -f $@.bak
@ -259,6 +260,7 @@ $(S.DEST)/glew_init.c: $(EXT)/.dummy
cat $(SRC)/glew_init_tail.c >> $@
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@
perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@
perl -e "s/\(\(glBlendColor = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glBlendColor = /g" -pi $@
$(BIN)/fix_OML_sync_control.sh $@
rm -f $@.bak

View File

@ -1,6 +1,6 @@
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,6 +1,6 @@
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/bin/bash
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -1,7 +1,7 @@
#!/bin/sh
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software

View File

@ -76,6 +76,7 @@ GL_ARB_imaging
GL_WRAP_BORDER 0x8152
GL_REPLICATE_BORDER 0x8153
GL_CONVOLUTION_BORDER_COLOR 0x8154
void glBlendEquation (GLenum mode)
void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params)

View File

@ -38,7 +38,6 @@ GL_VERSION_1_4
GL_TEXTURE_LOD_BIAS 0x8501
GL_MAX_TEXTURE_LOD_BIAS 0x84FD
GL_MIRRORED_REPEAT 0x8370
void glBlendEquation (GLenum mode)
void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
void glFogCoordf (GLfloat coord)
void glFogCoordfv (const GLfloat *coord)

View File

@ -61,7 +61,7 @@ BEGIN
VALUE "FileDescription", "The OpenGL Extension Wrangler Library\0"
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
VALUE "InternalName", "GLEW\0"
VALUE "LegalCopyright", "© 2003-2005 Milan Ikits & Marcelo Magallon\0"
VALUE "LegalCopyright", "© 2003-2006 Milan Ikits & Marcelo Magallon\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", FILENAME "\0"
VALUE "PrivateBuild", "\0"

View File

@ -18,7 +18,7 @@
#define __GLEXT_H_
#define __gl_ATI_h_
#if defined(_WIN32)
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
/*
* GLEW does not include <windows.h> to avoid name space pollution.
@ -142,16 +142,24 @@ extern "C" {
#ifndef GL_VERSION_1_1
#define GL_VERSION_1_1 1
#if defined(__APPLE__)
typedef unsigned long GLenum;
typedef unsigned long GLbitfield;
typedef unsigned long GLuint;
typedef long GLint;
typedef long GLsizei;
#else
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef unsigned int GLbitfield;
typedef signed char GLbyte;
typedef short GLshort;
typedef unsigned int GLuint;
typedef int GLint;
typedef int GLsizei;
#endif
typedef unsigned char GLboolean;
typedef signed char GLbyte;
typedef short GLshort;
typedef unsigned char GLubyte;
typedef unsigned short GLushort;
typedef unsigned int GLuint;
typedef float GLfloat;
typedef float GLclampf;
typedef double GLdouble;

View File

@ -1,7 +1,7 @@
/*
** The OpenGL Extension Wrangler Library
** Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
** Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
** Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
** Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
** Copyright (C) 2002, Lev Povalahev
** All rights reserved.
**

View File

@ -1,7 +1,7 @@
/*
** The OpenGL Extension Wrangler Library
** Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
** Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
** Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
** Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
** Copyright (C) 2002, Lev Povalahev
** All rights reserved.
**

View File

@ -1,7 +1,7 @@
/*
** The OpenGL Extension Wrangler Library
** Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
** Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
** Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
** Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
** Copyright (C) 2002, Lev Povalahev
** All rights reserved.
**

View File

@ -41,7 +41,7 @@ BEGIN
VALUE "FileDescription", "Utility for verifying extension entry points\0"
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
VALUE "InternalName", "glewinfo\0"
VALUE "LegalCopyright", "© 2003-2005 Milan Ikits & Marcelo Magallon\0"
VALUE "LegalCopyright", "© 2003-2006 Milan Ikits & Marcelo Magallon\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", FILENAME "\0"
VALUE "PrivateBuild", "\0"

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -41,7 +41,7 @@ BEGIN
VALUE "FileDescription", "Utility for listing pixelformat capabilities\0"
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
VALUE "InternalName", "visualinfo\0"
VALUE "LegalCopyright", "© 2003-2005 Milan Ikits & Marcelo Magallon\0"
VALUE "LegalCopyright", "© 2003-2006 Milan Ikits & Marcelo Magallon\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", FILENAME "\0"
VALUE "PrivateBuild", "\0"

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -1,6 +1,6 @@
<!--
Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
This documentation may not be modified or redistributed in any
form, except by the copyright holder.
-->

View File

@ -3,7 +3,7 @@
**
** Copyright (C) Nate Robins, 1997
** Michael Wimmer, 1999
** Milan Ikits, 2003-2005
** Milan Ikits, 2003-2006
**
** visualinfo is a small utility that displays all available visuals,
** aka. pixelformats, in an OpenGL system along with renderer version