Hello Guest

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

  • 1 Replies

Offline overlisted

  • *
  • 13
  • #MakeMinecraftOpenSource
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 »
sorry for my bad enligsh. talking about math and gl is very hard in not your native language.


Offline spasi

  • *****
  • 2172
    • 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.