From e257d1806c221d7cb5dabc99d8f8ae3fca13b80a Mon Sep 17 00:00:00 2001 From: Pascal Engeler <engelerp@phys.ethz.ch> Date: Wed, 8 Sep 2021 11:02:59 +0200 Subject: [PATCH] bugfix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3da0881..057b504 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Most of the conventions for [Damping Textures](#damping-textures) also apply her As things stand now, the lowest wave point maps to the first texel, and the highest wave point maps to the last texel. Similarly to 2D textures, here we upload the data via -``` +```c++ glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA32F, palette_.size()/4, 0, GL_RGBA, GL_FLOAT, palette_.data()); ``` -- GitLab