ogl linking question (windows)

i have some strange behaviour in my project when building a release and a debug binary when using vs.net under windows.
driver and hardware:

  • nvidia geforce2mx
  • detonator 56.72
    used libraries:
  • glu
  • sdl
    when building a release version and linking against msvcrt.lib, there is massive z-fighting in multipass rendering and a real slowdown in rendering performance at all.
    i have to link additionally against the debug version of the c lib “msvcrtd.lib” to resolve this. i tried to find a mistake in my compile and linker settings, tried every combination and finally the additional library solved my problem.

i’m asking here, because i know there are many windows programmer around.
maybe someone can give me a hint understanding this behaviour.

thanks a lot,