Derelict-GL3 Error

Kevin via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 10 06:47:09 PST 2017


On Tuesday, 10 January 2017 at 14:32:29 UTC, Kevin wrote:
> On Tuesday, 10 January 2017 at 04:34:24 UTC, Mike Parker wrote:
>> [...]
>
> Thanks for info. I already did glGetError() above and below.
> and it only from that code. At first I thought i put the wrong 
> type. I set success to 1 and let code go through and shader 
> work fine. The glGetShaderiv(program, GL_LINK_STATUS, &success) 
> check does not work. If you still think it opengl problem I 
> will take it there or maybe i made a simple mistake I can't see.
>
> [...]

You are right. My simple mistake.
i use glGetShaderiv when I should have us glGetProgramiv.
Thanks for your help.


More information about the Digitalmars-d mailing list