pmartz / jag-3d

Automatically exported from code.google.com/p/jag-3d
0 stars 1 forks source link

transparency test generates OpenGL error #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The transparenty test generates an OpenGL error, apparently at context init 
time. The error text is:
jag.draw.glerror: GL_INVALID_VALUE: BufferObject::internalInit() glGenBuffers()

Original issue reported on code.google.com by SkewMat...@gmail.com on 15 Jul 2013 at 2:56

GoogleCodeExporter commented 9 years ago
Fixed in 8e74db30af7c. Just needed to not enable the vertex attrib for tex 
coords that was being automatically generated from the jagUtil shapes code, in 
the case where the geometry isn't being texture mapped and therefore the shader 
didn't use the vertex attrib.

Original comment by SkewMat...@gmail.com on 15 Jul 2013 at 7:34

GoogleCodeExporter commented 9 years ago
Link to revision 8e74db30af7c:
https://code.google.com/p/jag-3d/source/detail?r=8e74db30af7c3b33129ec70faa9f3f4
3864e0dd8

Original comment by SkewMat...@gmail.com on 15 Jul 2013 at 7:35