Quantcast
Channel: how to use opengl transform feedback, I always get 0 in the buffers - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Nas25 for how to use opengl transform feedback, I always get 0 in the buffers

$
0
0
 glBufferDate(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(float) * 16, NULL, GL_DYNAMIC_COPY);

Is this line not supposed to be:

 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(float) * 16, NULL, GL_DYNAMIC_COPY);

Note the "glBufferData" not "glBufferDate". This will also support the fact that you are not getting any data in the buffer / 0 is being returned....


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images