PixelFormat = ChoosePixelFormat(deviceContext, &pfd) HDC deviceContext = GetDC(GetDesktopWindow()) I then create a dummy OpenGL 4.5 context using the desktop window HWND’s device context. I create a PIXELFORMATDESCRIPTOR with 32 bit color depth, 24 bit depth buffer and 8 bit stencil buffer. It was suggested on that I should install the 368.39 driver (which I already tried) then to create a new administrator user and update the drivers on that account. Apparently the error I am getting is a result of the graphics drivers not being up to date or not supporting OpenGL 4.5, yet I am using the 355.97 driver. For some reason, creating and OpenGL 4.5 context does not work. I just installed a GTX 960 and installed the (353.62/355.97/368.39) driver because it supposedly supports OpenGL 4.5.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |