found a bug in NBOpengl this function definition is incorrect

getShaderiv_shader: "in" shader pname: "in" pname params: "out" params
        <primitive: #primitiveNativeCall module: #NativeBoostPlugin error:
primErrorCode>

        ^ self 
                glApiCall: #( void glGetShaderiv ( GLuint shader , GLenum pname 
, long*
params ) )
                index: 793
                attributes: #(
                        #category #VERSION_2_0
                        #version #'2.0'
                )

while the function definition is 

void glGetShaderiv(GLuint  shader,  GLenum  pname,  GLint * params);

so there is no long* in there for params

as is confirmed from opengl 2.1 reference pages -> 
http://www.opengl.org/sdk/docs/man2/ <http://www.opengl.org/sdk/docs/man2/>  

dont know if this bug has any effect , or maybe not a bug ? 





--
View this message in context: 
http://forum.world.st/Understanding-NBOpenGL-tp4686514p4695962.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to