http://bugs.winehq.org/show_bug.cgi?id=15644 --- Comment #37 from Tobias Jakobi <liquid.acid(a)gmx.net> 2008-10-28 16:18:27 --- (In reply to comment #36)
Those GL errors are caused by the debug patch. You should first check the object type (GL_OBJECT_SUBTYPE_ARB) before trying to get the shader source, since obj can be a program as well. Hmm, don't you mean calling glGetObjectParameterARBiv with GL_OBJECT_TYPE_ARB and checking whether it is GL_SHADER_OBJECT_ARB or GL_PROGRAM_OBJECT_ARB?
AFAIK subtype only returns if the shader is a fragment or vertex one. I'm also not quite sure how to deal with the case when it's a program object (and not a shader object, I think the shader ones can be dumped correctly with my current code). Do I need to get the attached shader objects and dump them as well? Or is this functionality already implemented somewhere else in the code? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.