From bc5375149c0ecb416848a2d3657ea41ae97177b3 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Wed, 10 Aug 2022 21:24:03 -0400 Subject: path rasterization started with opengl --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index da67593..84d3559 100644 --- a/main.cpp +++ b/main.cpp @@ -62,6 +62,7 @@ SDL_sem *Semaphore; #include "keyframes.cpp" #include "layer.cpp" #include "strings.cpp" +#include "bezier.cpp" #if THREADED #include "threading.cpp" #else @@ -227,6 +228,7 @@ int main(int argc, char *argv[]) { InitMemoryTable(&GlobalMemory, &Memory, 10 * 1024 * 1024, P_AVInfo, "Image/video headers"); InitMemoryTable(&GlobalMemory, &Memory, 10 * 1024 * 1024, P_SourceBitmapTable, "Source bitmap tables"); + InitMemoryTable(&GlobalMemory, &Memory, 10 * 1024 * 1024, P_VectorPoints, "Vector Points"); InitMemoryTable(&GlobalMemory, &Memory, 10 * 1024 * 1024, P_MiscCache, "Misc cache"); InitMemoryTable(&GlobalMemory, &Memory, 15 * 1024 * 1024, F_Layers, "Layers"); @@ -378,8 +380,8 @@ int main(int argc, char *argv[]) { return -1; } - TestGL_InitShader(); - TestGL_InitVerts(); + TestGL_InitDefaultShader(); + TestGL_InitDefaultVerts(); LoadTestFootage(&File, &State, &Memory); -- cgit v1.2.3