-
glGetShaderiv
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &maxLength);
glGetShaderInfoLog(shader, maxLength, &length, log);
i see a strange result, status is not true, maxLength is very big, but length is zero, and log is empty, but finally i get the right 3d scene.
-
Advanced Member
Frequent Contributor
Sounds like a potential driver bug. What hardware and driver are you using?
Disclaimer: This is my personal profile. Whatever I write here is my personal opinion and none of my statements or speculations are anyhow related to my employer and as such should not be treated as accurate or valid and in no case should those be considered to represent the opinions of my employer.
Technical Blog:
http://www.rastergrid.com/blog/
-
Member
Regular Contributor
you should post some surrounding code. probably something wrong with type-casting, or some mistakes in shader setup. or it is, indeed, a driver bug.
-
freebsd os, gt430, nvidia driver , support gl 4.2, mesa+glew+glfw api
I am sorry i can't post the code because i lay on bed. It is deep night in my timezone. I type with phone.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules