[OPENGL32]
authorJérôme Gardou <jerome.gardou@reactos.org>
Fri, 11 Mar 2011 18:17:34 +0000 (18:17 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Fri, 11 Mar 2011 18:17:34 +0000 (18:17 +0000)
commit0cc06c7b45e2c8c0192981e53889aedb45489998
treecf787314b9c329b374d8d1b20757c4328aaa0610
parent1f0f4f62b080dfe5ab4647853b3d2f69ff1ffc64
[OPENGL32]
  - use well defined macro instead of weird pointer calculation
  - reset thread specific data on a thread detach call
Fixes crash in heroes 3 and probably others

svn path=/trunk/; revision=51019
reactos/dll/win32/opengl32/icdtable.h
reactos/dll/win32/opengl32/opengl32.c
reactos/dll/win32/opengl32/wgl.c