[PATCH 8/9] wined3d: remove ENTER_GL/LEAVE_GL in texture and cube texture PreLoad.

Roderick Colenbrander thunderbird2k at gmx.net
Tue Mar 25 03:45:24 CDT 2008

> 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.

Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 

More information about the wine-devel mailing list