From 01d38cdf0c4c964fc4d59ebd51444f4638d9747a Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 13 Jan 2005 14:13:19 +0000 Subject: [PATCH] cosmetic changes --- src/mesa/shader/shaderobjects.h | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/mesa/shader/shaderobjects.h b/src/mesa/shader/shaderobjects.h index f1cb1b1a901..7f0f0706a01 100644 --- a/src/mesa/shader/shaderobjects.h +++ b/src/mesa/shader/shaderobjects.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.3 * - * Copyright (C) 2004 Brian Paul All Rights Reserved. + * Copyright (C) 2004-2005 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"), @@ -25,10 +25,9 @@ #ifndef SHADEROBJECTS_H #define SHADEROBJECTS_H - #include "mtypes.h" -#if _HAVE_FULL_GL +#if FEATURE_ARB_shader_objects extern void GLAPIENTRY _mesa_DeleteObjectARB(GLhandleARB obj); @@ -147,7 +146,7 @@ _mesa_GetUniformivARB (GLhandleARB, GLint, GLint *); extern void GLAPIENTRY _mesa_GetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); -/* GL_ARB_vertex_shader */ +#if FEATURE_ARB_vertex_shader extern void GLAPIENTRY _mesa_BindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *); @@ -156,16 +155,14 @@ extern void GLAPIENTRY _mesa_GetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); extern GLint GLAPIENTRY -_mesa_GetAttribLocationARB (GLhandleARB, const GLcharARB *); - - - -extern void _mesa_init_shaderobjects( GLcontext * ctx ); - -#else +_mesa_GetAttribLocationARB (GLhandleARB, const GLcharARB *); + +#endif -/** No-op */ +extern void +_mesa_init_shaderobjects (GLcontext *ctx); #endif #endif + -- 2.30.2