
9 Sep
2009
9 Sep
'09
2:35 a.m.
Hi! I've found a bug in gl binding. The unmarshal function is wrong, because in this case there is no gl_TEXTURE0 offset. maxTextureUnit :: GettableStateVar TextureUnit maxTextureUnit = makeGettableStateVar (getEnum1 unmarshalTextureUnit GetMaxTextureUnits) unmarshalTextureUnit :: GLenum -> TextureUnit unmarshalTextureUnit x = TextureUnit (fromIntegral (x - gl_TEXTURE0)) Cheers, Csaba Hruska

13 Sep
13 Sep
7:55 a.m.
Am Mittwoch, 9. September 2009 08:35:43 schrieb Csaba Hruska:
I've found a bug in gl binding. The unmarshal function is wrong, because in this case there is no gl_TEXTURE0 offset. [...]
Well spotted, this will be fixed in the next release. Thanks for the bug report, S.
5728
Age (days ago)
5732
Last active (days ago)
1 comments
2 participants
participants (2)
-
Csaba Hruska
-
Sven Panne