diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 10:01:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 10:01:33 +0400 |
commit | 3633858fdb1104c7b2ec23f3f1d53b6b367ae454 (patch) | |
tree | 795200869c3413b4d49bcb976d36401af47c2fee /source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | |
parent | dd8504ed871026cee74361ea859af09c90081268 (diff) |
code cleanup:
* replace 2D vector copy with copy_v2_v2().
* use puts rather then printf for single strings.
* style cleanup for drawobject.c indentation.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_2DFilterManager.cpp')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp b/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp index 903ea14c5d2..9706de20b79 100644 --- a/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp +++ b/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp @@ -103,9 +103,10 @@ void RAS_2DFilterManager::PrintShaderErrors(unsigned int shader, const char *tas c = pos+1; line++; } - printf("%s", c); - printf("%s\n", log); + puts(c); + puts(log); + puts("\n"); } unsigned int RAS_2DFilterManager::CreateShaderProgram(const char* shadersource) |