cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
539 stars 59 forks source link

Refactor extension queries in Program to use Registry #217

Closed rlux closed 10 years ago

rlux commented 10 years ago

Also in Shader

(and State)

scheibel commented 10 years ago

Why is there a need to directly use the ExtensionRegistry, if the hasExtension function internally uses the ExtensionRegistry?

rlux commented 10 years ago

I'm not talking about ExtensionRegistry, but Implementation Registry. Program and Shader are inconsistent with the rest of the implementation strategies, and query extensions every time.