g-truc/ogl-samples

In the case gl-400-texture-buffer-rgb,how to change internal format used for texbuffer object?

AyariaDawn opened this issue · 0 comments

Hello! I'm new to opengl , and I want to check if the new formats rgb32F , rgb32I , rgb32UI in GL 4.0 are supported correctly in my own driver by using G-truc. In the case gl-400-texture-buffer-rgb , the format rgb32F is used like "glTexBuffer(GL_TEXTURE_BUFFER, GL_RGB32F, BufferName[BUFFER_DISPLACEMENT]);" , so how should I modify this case code to use the other two formats?

Thanks!