LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Zero on April 04, 2005, 05:13:49

Title: missing enums???
Post by: Zero on April 04, 2005, 05:13:49
I am attempting to use glBlendEquation() and it takes
GL_FUNC_ADD
GL_FUNC_SUB
GL_FUNC_REVERSE_SUBTRACT
GL_MIN
GL_MAX

according to  the redbook. are these named wrong? or missing?? i can't seem to use any
of them and they are not in the javadocs. perhaphs there is an alternative method.
Title: missing enums???
Post by: Matzon on April 04, 2005, 06:38:05
Quote
glBlendEquation is part of the GL_ARB_imaging subset.
and placed in the ARBImaging class :)
Title: oh
Post by: Zero on April 04, 2005, 07:36:11
oh, the red book didn't mention that ;)

[edit] though it is talked about in the blending section not in the imaging section? oh well
Title: ?
Post by: Zero on April 04, 2005, 07:42:22
glBlendEquation is in org.lwjgl.opengl.GL14 and its enums are in org.lwjgl.opengl.ARBImaging.... that is slightly confusing ;).
Perhaps ARBImaging is part of standard 1.4 now?