Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

Re: WGL_ARB_create_context

$
0
0

I'm not sure what your intent here is, but those flags don't seem right. You need these flags:

 

WGL_CONTEXT_MAJOR_VERSION_ARB, 3,

WGL_CONTEXT_MINOR_VERSION_ARB, 1,

WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,

0

 

Don't forget the terminating zero.

 

If context creation fails, all bets are off. The driver may be crashing because you don't have a valid context.

 

Graham


Viewing all articles
Browse latest Browse all 631

Trending Articles