diff options
author | Brian Paul <[email protected]> | 2008-07-24 14:56:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-24 15:11:38 -0600 |
commit | 90a3af7d9d0849afcee0d35ed0621fe24e1008a9 (patch) | |
tree | 309a8fe2f661afc1e878bc44ac347d754443d010 /src/mesa/main | |
parent | 4ec4ea14a587300041799c5269295ba7e160ab65 (diff) |
mesa: glsl: only try to link shaders defining main()
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 88312da7f05..a95f02b889b 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() */ }; |