-
Brian Nguyen authored
Theoretically multiple clients (libGLX and a future libEGL) may call into __glDispatchInit() to set up dispatching, and we will want to refcount GLdispatch to determine when dispatch teardown should occur. So replace the global boolean 'initialized' with a counter 'clientRefcount' which tracks the number of clients using GLdispatch. Signed-off-by:
Brian Nguyen <brnguyen@nvidia.com>
4ccb62cd