diff options
author | Paul Berry <[email protected]> | 2011-07-07 14:01:40 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-07-22 09:45:11 -0700 |
commit | f129f618fe8a5397774484f1b7afb42d4be809a0 (patch) | |
tree | 600040852abbc6ba234948b3b9a71f594448984c /src/glsl/opt_discard_simplification.cpp | |
parent | 12c22cab77f35a887d9f6790e0de4a8fa4b3b575 (diff) |
glsl: Move functions into standalone_scaffolding.cpp for later reuse.
This patch moves the following functions from main.cpp (the main cpp
file for the standalone executable that is used to create the built-in
functions) to standalone_scaffolding.cpp, so that they can be re-used
in other standalone executables:
- initialize_context()*
- _mesa_new_shader()
- _mesa_reference_shader()
*initialize_context contained some code that was specific to main.cpp,
so it was split into two functions: initialize_context() (which
remains in main.cpp), and initialize_context_from_defaults() (which is
in standalone_scaffolding.cpp).
Diffstat (limited to 'src/glsl/opt_discard_simplification.cpp')
0 files changed, 0 insertions, 0 deletions