summaryrefslogtreecommitdiff
path: root/createcalls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'createcalls.cpp')
-rw-r--r--createcalls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/createcalls.cpp b/createcalls.cpp
index 1c20b1a..7088694 100644
--- a/createcalls.cpp
+++ b/createcalls.cpp
@@ -300,12 +300,12 @@ CreateSolidLayer(project_data *File, memory *Memory, uint16 Width, uint16 Height
}
internal project_layer *
-CreateDebugLayer(project_data *File, memory *Memory, uint16 Width, uint16 Height)
+CreateDebugLayer(project_data *File, memory *Memory, uint16 Width, uint16 Height, int i)
{
project_layer *Layer = CreateLayer(File, Memory);
Layer->RenderInfo = AllocateMemory(Memory, sizeof(image_source), P_SourceData);
image_source *Source = (image_source *)Layer->RenderInfo;
- Source->Raster = CreateDebugBitmap(Memory, Width, Height);
+ Source->Raster = CreateDebugBitmap(Memory, Width, Height);
Layer->SourceType = source_image;
return Layer;
}
@@ -359,7 +359,7 @@ CreateGrid(project_data *File, memory *Memory) {
real32 YInc = File->Height / Amount;
for (int16 j = 0; j < 8; j++) {
for (int16 i = 0; i < 8; i++) {
- project_layer *Layer = CreateSolidLayer(File, Memory, 200, 200, V4(0.6, 0.3, 0.4, 1.0));
+ project_layer *Layer = CreateSolidLayer(File, Memory, 400, 400, V4(0.6, 0.3, 0.4, 1.0));
Layer->x.CurrentValue.f = (XInc*i);
Layer->y.CurrentValue.f = (XInc*j);
Layer->opacity.CurrentValue.f = 0.25;