summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-07-24 14:56:54 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-24 15:11:38 -0600
commit90a3af7d9d0849afcee0d35ed0621fe24e1008a9 (patch)
tree309a8fe2f661afc1e878bc44ac347d754443d010 /src/mesa/main/mtypes.h
parent4ec4ea14a587300041799c5269295ba7e160ab65 (diff)
mesa: glsl: only try to link shaders defining main()
Diffstat (limited to 'src/mesa/main/mtypes.h')
-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 88312da7f0..a95f02b889 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2123,9 +2123,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() */
};