glUseProgram failure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

glUseProgram failure

Luke
Hi, here's the suspect code:

ShaderIO.java -- a simple utility for loading shaders from file
http://pastie.org/private/zolwrlxnpjvnptkcdurk4g

IBO_Testing.java -- a dumbed down case that the problem exists in
http://pastie.org/private/o0pnvnr7yzuofv54cc4isg

The error that I'm getting:

[quote]glGetError() returned the following error codes after a call to glUseProgram(<int> 0x3): GL_INVALID_OPERATION ( 1282 0x502), [/quote]

I'm quite confused over this!

Thanks,
Luke