Strange OGL Behaviour

Hey everyone.

I’m programming graphics for a HL mod, and I’ve bumped into a weird issue after a major optimization went down, and I don’t see why this happens in the first place. It seems that for some reason, there’s a general slowdown in my code, which I haven’t had before. It seems that something is calling DrvCopyContext for no reason and stalling everything, and after looking into this, it seems that this might be related to multithreading, but I am not using multiple threads at all, everything runs on a single thread. The performance drop is pretty noticeable, has anyone else encountered this problem?


This might give you a hint.

Thanks for your response, but eventually I found out that it wasn’t the cause. I’ll post another thread.