Hello Guest

[IDEA] Mark non-core OpenGL functions with @Deprecated annotation

  • 1 Replies
  • 42 Views
How about apply @Deprecated annotation to OpenGL functions that are removed from core profile?
« Last Edit: October 01, 2019, 04:37:05 by True_han »

*

Offline spasi

  • *****
  • 2160
    • WebHotelier
Re: [IDEA] Mark non-core OpenGL functions with @Deprecated annotation
« Reply #1 on: October 03, 2019, 08:10:25 »
This has been suggested and rejected before. The reason is that using compatibility profile functionality is still reasonable and actually very common.

LWJGL now has separate class hierarchies for compatibility and core profiles (e.g. GL20 and GL20C). There are no deprecated symbols in the *C variants.