glew-name-from-gl-name   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/gl/glcore-glew.xtm

Implementation

(define glew-name-from-gl-name
  (lambda (gl-name)
    (if (symbol? gl-name) (set! gl-name (symbol->string gl-name)))
    (string->symbol (regex:replace gl-name "^gl" "__glew"))))


Back to Index