Re: [PATCH 4/5] opengl32: Store the OpenGL context version in the handle value.
16 Jan
2015
16 Jan
'15
4:31 p.m.
Matteo Bruni <mbruni(a)codeweavers.com> writes:
@@ -53,7 +53,14 @@ enum wgl_handle_type { HANDLE_CONTEXT = 0 << 12, HANDLE_PBUFFER = 1 << 12, - HANDLE_TYPE_MASK = 15 << 12 + HANDLE_TYPE_MASK = 7 << 12 +}; + +enum wgl_opengl_version +{ + OPENGL_1 = 0 << 15, + OPENGL_3 = 1 << 15, + OPENGL_VER_MASK = 1 << 15 };
That's certainly acceptable, but since it only applies to contexts I'm wondering if it wouldn't be cleaner to add a CONTEXT_V3 type in the existing enum. -- Alexandre Julliard julliard(a)winehq.org
3982
Age (days ago)
3982
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard