diff options
author | Neil Roberts <neil@linux.intel.com> | 2010-12-02 18:05:22 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2010-12-13 17:22:57 +0000 |
commit | 0c732c27ae01c50ae1ddaf2cf429cab2685f790a (patch) | |
tree | f061fc07b1cba38f958962ddef4569f6824ac61a /cogl/cogl-pipeline-fragend-arbfp.c | |
parent | 3cf9159769e76ed5cc44c8b689cd549d1c7616f1 (diff) | |
download | cogl-0c732c27ae01c50ae1ddaf2cf429cab2685f790a.tar.gz |
cogl-pipeline: Rename the fragment_{source,header}_buffer to codegen
We want to reuse the same buffers for vertends so calling them
fragment_* doesn't make sense.
Diffstat (limited to 'cogl/cogl-pipeline-fragend-arbfp.c')
-rw-r--r-- | cogl/cogl-pipeline-fragend-arbfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-pipeline-fragend-arbfp.c b/cogl/cogl-pipeline-fragend-arbfp.c index 61767a84..48eef5ec 100644 --- a/cogl/cogl-pipeline-fragend-arbfp.c +++ b/cogl/cogl-pipeline-fragend-arbfp.c @@ -296,8 +296,8 @@ _cogl_pipeline_fragend_arbfp_start (CoglPipeline *pipeline, int i; /* We reuse a single grow-only GString for code-gen */ - g_string_set_size (ctx->fragment_source_buffer, 0); - arbfp_program_state->source = ctx->fragment_source_buffer; + g_string_set_size (ctx->codegen_source_buffer, 0); + arbfp_program_state->source = ctx->codegen_source_buffer; g_string_append (arbfp_program_state->source, "!!ARBfp1.0\n" "TEMP output;\n" |