[Piglit] [PATCH 1/2] glew: update to version 1.7.0

Marek Olšák maraeo at gmail.com
Mon Oct 31 08:19:01 PDT 2011


On Thu, Oct 27, 2011 at 3:33 AM, Brian Paul <brianp at vmware.com> wrote:
> ---
>  tests/util/glew.c | 1930 +++++++++++++++++++++++++++++++++++++----------------
>  tests/util/glew.h |  853 ++++++++++++++++++++++-
>  2 files changed, 2156 insertions(+), 627 deletions(-)
>
> diff --git a/tests/util/glew.c b/tests/util/glew.c
> index 56a0ef8..5d886ce 100644
> --- a/tests/util/glew.c
> +++ b/tests/util/glew.c
> @@ -29,11 +29,11 @@
>  ** THE POSSIBILITY OF SUCH DAMAGE.
>  */
>
> -#include "glew.h"
> +#include <GL/glew.h>
>  #if defined(_WIN32)
> -#  include "wglew.h"
> +#  include <GL/wglew.h>
>  #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
> -#  include "glxew.h"
> +#  include <GL/glxew.h>
>  #endif

Please keep the original includes. They should read from the current
directory, not the system one.

Also please keep the GLEW_STATIC definition in glew.h.

Thank you.

Marek


More information about the Piglit mailing list