From ea280b638215ef1188b204ed6c7686b51e112fab Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Thu, 23 Dec 2021 04:19:44 +0100 Subject: [PATCH] tweak types --- src/Plot3D.cpp | 2 +- vendor/lol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plot3D.cpp b/src/Plot3D.cpp index 0626211..6753a1f 100644 --- a/src/Plot3D.cpp +++ b/src/Plot3D.cpp @@ -49,7 +49,7 @@ Plot3D::Plot3D(const lol::BBox& domainAndRange, float scale, float resolution, P Triangulate(functionValues, sliceLength, indices); vao = lol::VAOFactory::Produce(vertices, indices, - { + lol::Layout { { 3, GL_FLOAT, GL_FALSE, sizeof(float) * 4, (void*)0 }, { 1, GL_FLOAT, GL_FALSE, sizeof(float) * 4, (void*)(3 * sizeof(float))} } diff --git a/vendor/lol b/vendor/lol index 923213a..711d18e 160000 --- a/vendor/lol +++ b/vendor/lol @@ -1 +1 @@ -Subproject commit 923213a6501f700d4a6556f85bcc2cc48557d140 +Subproject commit 711d18e7184fcfc41c1c065b1f97b00f361ab1f8