mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[OPENGL32]
- Do not crash if thread data was not allocated svn path=/trunk/; revision=65143
This commit is contained in:
@@ -137,7 +137,7 @@ HGLRC
|
||||
IntGetCurrentRC(void)
|
||||
{
|
||||
struct Opengl32_ThreadData* data = TlsGetValue(OglTlsIndex);
|
||||
return data->hglrc;
|
||||
return data ? data->hglrc : NULL;
|
||||
}
|
||||
|
||||
static inline
|
||||
|
||||
Reference in New Issue
Block a user