summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2005-03-25 12:05:30 +0000
committerMichal Krol <mjkrol@gmail.org>2005-03-25 12:05:30 +0000
commita095aa4f4b954d42e42ae41013c7541c85a41b53 (patch)
tree62844d64cd39e2b4d512e3316419b233aa94352e /src/mesa/shader/slang
parent675f802542679665eb2df9541617bf5be609bf41 (diff)
fix comments; fix TBuiltInResource typedef
Diffstat (limited to 'src/mesa/shader/slang')
-rwxr-xr-xsrc/mesa/shader/slang/Include/ResourceLimits.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/shader/slang/Include/ResourceLimits.h b/src/mesa/shader/slang/Include/ResourceLimits.h
index 4ba0b07d07..ef24244c28 100755
--- a/src/mesa/shader/slang/Include/ResourceLimits.h
+++ b/src/mesa/shader/slang/Include/ResourceLimits.h
@@ -1,4 +1,4 @@
-//
+/*
//Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
//All rights reserved.
//
@@ -30,7 +30,7 @@
//LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//POSSIBILITY OF SUCH DAMAGE.
-//
+*/
#ifndef _RESOURCE_LIMITS_INCLUDED_
#define _RESOURCE_LIMITS_INCLUDED_
@@ -39,7 +39,7 @@
extern "C" {
#endif
-struct TBuiltInResource {
+typedef struct TBuiltInResource_ {
int maxLights;
int maxClipPlanes;
int maxTextureUnits;
@@ -52,10 +52,10 @@ struct TBuiltInResource {
int maxTextureImageUnits;
int maxFragmentUniformComponents;
int maxDrawBuffers;
-};
+} TBuiltInResource;
#ifdef __cplusplus
}
#endif
-#endif // _RESOURCE_LIMITS_INCLUDED_
+#endif /* _RESOURCE_LIMITS_INCLUDED_ */