Matteo Bruni mbruni@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.