Search code examples
lwjgl

How do I use glTexParameterfv in LWJGL?


I've looked throught all GL** classes but am unable to find the method glTexParameterfv. The default glTexParamteri.... methods are in GL11. How can i change the border color of a texture in lwjgl?


Solution

  • The method is called glTexParameter (without the suffix) in LWJGL 2 and can be found in GL11 as well.

    Since LWJGL 3 it is called glTexParameterfv again.