opengl32: Fix get_current_context_type() to not shift the type bits down.

Ken Thomases ken at codeweavers.com
Mon Feb 2 15:51:42 CST 2015


The result is compared directly with handle type values like HANDLE_CONTEXT
whose meaningful values are in the high nibble.

Fixes a crash on OS X due to the OpenGL 3.x path being taken for a 2.x context.
---
dlls/opengl32/wgl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opengl32-Fix-get_current_context_type-to-not-shift-t.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150202/5d7d83e0/attachment.bin>


More information about the wine-patches mailing list