diff options
author | Brian <[email protected]> | 2007-03-21 15:38:46 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-21 15:38:46 -0600 |
commit | 97c9b3ecc6da6058cf17840f6448617c7dc2be75 (patch) | |
tree | 479f84dbdd16a18fcd5cd416bbeea4eba01e6ff1 /src | |
parent | e02b989ff96cb706b9cbbea519034e3403b3ecfa (diff) |
disable apparently unused code
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_storage.c | 2 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_storage.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_storage.c b/src/mesa/shader/slang/slang_storage.c index 04995aa8420..6d6a6d9ac47 100644 --- a/src/mesa/shader/slang/slang_storage.c +++ b/src/mesa/shader/slang/slang_storage.c @@ -258,6 +258,7 @@ _slang_sizeof_aggregate(const slang_storage_aggregate * agg) } +#if 0 GLboolean _slang_flatten_aggregate(slang_storage_aggregate * flat, const slang_storage_aggregate * agg) @@ -299,3 +300,4 @@ _slang_flatten_aggregate(slang_storage_aggregate * flat, } return GL_TRUE; } +#endif diff --git a/src/mesa/shader/slang/slang_storage.h b/src/mesa/shader/slang/slang_storage.h index b02931fcc2a..d3047ee5164 100644 --- a/src/mesa/shader/slang/slang_storage.h +++ b/src/mesa/shader/slang/slang_storage.h @@ -125,6 +125,7 @@ extern GLuint _slang_sizeof_aggregate (const slang_storage_aggregate *); +#if 0 /** * Converts structured aggregate to a flat one, with arrays of generic * type being one-element long. Returns GL_TRUE on success. Returns @@ -134,5 +135,6 @@ extern GLboolean _slang_flatten_aggregate (slang_storage_aggregate *, const slang_storage_aggregate *); +#endif #endif /* SLANG_STORAGE_H */ |