summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-24 14:56:54 -0600
committerBrian Paul <[email protected]>2008-07-29 17:23:37 -0600
commit3d500f00d2a09becccd62abc0472090c4faa53d6 (patch)
tree876f2b889ff9c78752b7e70ad0fc25c36f1bfab3 /src/mesa/main
parent56bac7a35cf5763c28164224a45dae46e06aacbb (diff)
mesa: glsl: only try to link shaders defining main()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 9339146e25c..6f17e46d0ee 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2105,9 +2105,9 @@ struct gl_shader
const GLchar *Source; /**< Source code string */
GLboolean CompileStatus;
- GLuint NumPrograms; /**< size of Programs[] array */
- struct gl_program **Programs; /**< Post-compile assembly code */
+ struct gl_program *Program; /**< Post-compile assembly code */
GLchar *InfoLog;
+ GLboolean Main; /**< shader defines main() */
};