diff --git a/README.md b/README.md index 3da08814b29be53ee5edca53281cfa58e6efaa9b..057b504a6ad075761a150b570e7f6a401d79eee4 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()); ```