commit | cdc5179b905e0ca21820b906b14d2f7932ca0f5b | [log] [tgz] |
---|---|---|
author | Amit Feller <amit@graphtech.co.il> | Thu Jun 30 13:05:28 2011 +0300 |
committer | Guy Zadickario <guy@graphtech.co.il> | Sun Jul 03 15:40:52 2011 +0300 |
tree | 646921b252359ce50e5a89c234e58b34b2d8bba5 | |
parent | 15680c5e69f6ef507a50b56c5522427d1f274235 [diff] |
EGL translator: fixes shared context on windows On windows it is not possible to create a context which shares with another context if the other context is already current to some thread. This change makes the "global context" be a dummy context on windows which we create during the first createContext call, this dummy context will never bind to any thread so it is safe to share with it at any time.