Re: glBufferData and glBufferSubData seems not to work
Posted by
Henry Rust on
Aug 19, 2011; 11:57am
URL: https://forum.jogamp.org/glBufferData-and-glBufferSubData-seems-not-to-work-tp3267295p3267827.html
Just tested with calling the rewind() function for both the vertexPositions and indices, before uploading the data to OpenGL. It changed nothing, same problem as before. About the minimal testprogram, my source code is actually just made of that I provided. Ok, there's sure for sure a short function opening the window (aka JFrame), but it's really short and it doesn't do anything special. Here's a minimal eclipse project with all files necessary to build:
http://www.file-upload.net/download-3674197/glBufferDataProblem.tar.gz.htmlPS.: Can anyone tell me what's a good free file uploader, I just used the first found by google