View Full Version : Strange OGL Behaviour

05-30-2013, 09:11 AM
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?


05-31-2013, 04:18 AM
This (http://www.gamedev.net/topic/537378-puzzled-by-opengl-multi-threaded-slowdown/?whichpage=1#3469577) might give you a hint.

06-02-2013, 01:14 AM
Thanks for your response, but eventually I found out that it wasn't the cause. I'll post another thread.