summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2005-01-13 14:13:19 +0000
committerMichal Krol <mjkrol@gmail.org>2005-01-13 14:13:19 +0000
commit01d38cdf0c4c964fc4d59ebd51444f4638d9747a (patch)
treed7239f2c9183181ad4ffb1f76f4c3f277979003f
parent6324f73b932bea74329f6f617021e593274e637c (diff)
cosmetic changes
-rw-r--r--src/mesa/shader/shaderobjects.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/mesa/shader/shaderobjects.h b/src/mesa/shader/shaderobjects.h
index f1cb1b1a90..7f0f0706a0 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
+