Not really needed for anything and can lead to ActivateContext being called while holding lock.
dlls/wined3d/cubetexture.c | 2 -- dlls/wined3d/texture.c | 3 +-- 2 files changed, 1 insertions(+), 4 deletions(-)
Sure this is a problem but there needs to be a place which calls ENTER_GL/LEAVE_GL. I believe LoadTexture and some of the other functions aren't handling that properly yet, so I wouldn't add this yet.
It is very tricky.
Roderick