Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use use DirectDraw to change the screen resolution or desktop pixel depth?

0
10 Posted

Can I use use DirectDraw to change the screen resolution or desktop pixel depth?

0

You can create a window and use DirectDraw to change the display resolution and/or pixel depth. Then, get the window’s DC and create an OpenGL context from it. This is known to work on some devices. While we’re on the subject, Microsoft doesn’t require, and consequently does not test for, the ability to render OpenGL into a DirectDraw surface. Just because you can get a surface’s DC does not mean that OpenGL rendering is supported. Always check for error returns when creating contexts or maiing them current. 5.090 My card supports OpenGL, but I don’t get acceleration regardless of which pixel format I use.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.