Hello…ive made about 2 opengl engines in the past few months…and now started a new one from scratch. This time I have a TNT2 to work with, (i used a voodoo2 for the previous engines)…
The problem i have is that i cannot get ChoosePixelFormat() to work…
the HDC is correct and everything…i’ve basically copied the code from my old programs and it still didnt work…
I tried something new and threw in wglMakeCurrent(NULL,NULL); before choosing the pixel format and now it works!!!
But why is that? I want to be able to choose my pixelformat without having anything to do with opengl at the start…
I mean I want to be able to set the pixel format, then decide whether i want to use OpenGL or D3D (for example)…
Any ideas? I need to get this resolved URGENTLY!!
Thanks