PDA

View Full Version : Wiki Question: Program Introspection



yousry
08-08-2013, 08:32 AM
In the example program at the bottom of the page the author wrote:

glGetProgramResourceiv(prog, GL_UNIFORM, unifIx, 3, unifProperties, 4, NULL, values);

But I think correct is

glGetProgramResourceiv(prog, GL_UNIFORM,blockUnifs[unifIx], 3, unifProperties, 4, NULL, values);

PS:

I was banned from the discussion page because of a german DTAG IP !?

IP-Range 93.232.228.0 - 93.232.228.255