Skip to content
Snippets Groups Projects
Commit e257d180 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

bugfix

parent 5e26e334
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ Most of the conventions for [Damping Textures](#damping-textures) also apply her ...@@ -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. 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 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()); glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA32F, palette_.size()/4, 0, GL_RGBA, GL_FLOAT, palette_.data());
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment