Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

glCoreTextureReset clears all textures.

Example

Example 1: As used in (glCoreInit) as suspend/resume might invalidate the textures

(define (glCoreInit)
  (if glCore:needsinit (begin
    (glCoreTextureReset)
    (glClearColor 0. 0. 0. 0.)
    ;; Many more omitted here
  )))
Clone this wiki locally