Hello Guest

[CLOSED] [MISSING] GL33.GL_SRC1_ALPHA

  • 3 Replies
  • 2973 Views
*

Offline obi

  • *
  • 24
[CLOSED] [MISSING] GL33.GL_SRC1_ALPHA
« on: December 12, 2014, 23:19:24 »
GL33.GL_SRC1_ALPHA is missing

*

Online spasi

  • *****
  • 2132
    • WebHotelier
Re: [MISSING] GL33.GL_SRC1_ALPHA
« Reply #1 on: December 13, 2014, 09:22:07 »
GL_SRC1_ALPHA was introduced in OpenGL 1.5, as an alias for GL_SOURCE1_ALPHA in OpenGL 1.3. The 3.3 release introduced the following only:

Code: [Select]
GL_SRC1_COLOR
GL_ONE_MINUS_SRC1_COLOR
GL_ONE_MINUS_SRC1_ALPHA

*

Offline obi

  • *
  • 24
Re: [MISSING] GL33.GL_SRC1_ALPHA
« Reply #2 on: December 17, 2014, 11:31:30 »
Oh.

Was just porting my code to LWJGL 3. LWJGL 2 had GL33.GL_SRC1_ALPHA so I thought there was a mistake.

Thanks for clearing that up.

*

Online spasi

  • *****
  • 2132
    • WebHotelier
Re: [MISSING] GL33.GL_SRC1_ALPHA
« Reply #3 on: December 17, 2014, 11:40:19 »
Yes, LWJGL 2 had it but it's been removed from there too. It was causing conflicts when used with static imports.