Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2004-10-26 17:04:27 +0400
committerKent Mein <mein@cs.umn.edu>2004-10-26 17:04:27 +0400
commit06cb471269c59ea36443f033f6308eadb500a720 (patch)
tree2f01b65410d80a7bf261ea47610096489d0dd012 /source/gameengine
parent15e1671ec5648edcda2d4c77274521372a87d0ea (diff)
Fix so it compiles on my machine....
Changed: row_pointers = new (png_bytep) [(GetHeight() * sizeof(png_bytep))]; to: row_pointers = new png_bytep [(GetHeight() * sizeof(png_bytep))]; Thanks emil.... Kent
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_Canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_Canvas.cpp b/source/gameengine/GamePlayer/common/GPC_Canvas.cpp
index 7648e6a5245..506b2fc423c 100644
--- a/source/gameengine/GamePlayer/common/GPC_Canvas.cpp
+++ b/source/gameengine/GamePlayer/common/GPC_Canvas.cpp
@@ -460,7 +460,7 @@ MakeScreenShot(
png_write_info(png_ptr, info_ptr);
// allocate memory for an array of row-pointers
- row_pointers = new (png_bytep) [(GetHeight() * sizeof(png_bytep))];
+ row_pointers = new png_bytep [(GetHeight() * sizeof(png_bytep))];
if (!row_pointers)
{
std::cout << "Cannot allocate row-pointers array" << std::endl;