Missing WGL constants

BlitzMax Forums/OpenGL Module/Missing WGL constants

JoshK(Posted 2006) [#1]
At least some of these constants are missing from the opengl module:
Const WGL_ARB_pixel_format 				  =1
Const WGL_NUMBER_PIXEL_FORMATS_ARB        =$2000
Const WGL_DRAW_TO_WINDOW_ARB              =$2001
Const WGL_DRAW_TO_BITMAP_ARB              =$2002
Const WGL_ACCELERATION_ARB                =$2003
Const WGL_NEED_PALETTE_ARB                =$2004
Const WGL_NEED_SYSTEM_PALETTE_ARB         =$2005
Const WGL_SWAP_LAYER_BUFFERS_ARB          =$2006
Const WGL_SWAP_METHOD_ARB                 =$2007
Const WGL_NUMBER_OVERLAYS_ARB             =$2008
Const WGL_NUMBER_UNDERLAYS_ARB            =$2009
Const WGL_TRANSPARENT_ARB                 =$200A
Const WGL_TRANSPARENT_RED_VALUE_ARB       =$2037
Const WGL_TRANSPARENT_GREEN_VALUE_ARB     =$2038
Const WGL_TRANSPARENT_BLUE_VALUE_ARB      =$2039
Const WGL_TRANSPARENT_ALPHA_VALUE_ARB     =$203A
Const WGL_TRANSPARENT_INDEX_VALUE_ARB     =$203B
Const WGL_SHARE_DEPTH_ARB                 =$200C
Const WGL_SHARE_STENCIL_ARB               =$200D
Const WGL_SHARE_ACCUM_ARB                 =$200E
Const WGL_SUPPORT_GDI_ARB                 =$200F
Const WGL_SUPPORT_OPENGL_ARB              =$2010
Const WGL_DOUBLE_BUFFER_ARB               =$2011
Const WGL_STEREO_ARB                      =$2012
Const WGL_PIXEL_TYPE_ARB                  =$2013
Const WGL_COLOR_BITS_ARB                  =$2014
Const WGL_RED_BITS_ARB                    =$2015
Const WGL_RED_SHIFT_ARB                   =$2016
Const WGL_GREEN_BITS_ARB                  =$2017
Const WGL_GREEN_SHIFT_ARB                 =$2018
Const WGL_BLUE_BITS_ARB                   =$2019
Const WGL_BLUE_SHIFT_ARB                  =$201A
Const WGL_ALPHA_BITS_ARB                  =$201B
Const WGL_ALPHA_SHIFT_ARB                 =$201C
Const WGL_ACCUM_BITS_ARB                  =$201D
Const WGL_ACCUM_RED_BITS_ARB              =$201E
Const WGL_ACCUM_GREEN_BITS_ARB            =$201F
Const WGL_ACCUM_BLUE_BITS_ARB             =$2020
Const WGL_ACCUM_ALPHA_BITS_ARB            =$2021
Const WGL_DEPTH_BITS_ARB                  =$2022
Const WGL_STENCIL_BITS_ARB                =$2023
Const WGL_AUX_BUFFERS_ARB                 =$2024
Const WGL_NO_ACCELERATION_ARB             =$2025
Const WGL_GENERIC_ACCELERATION_ARB        =$2026
Const WGL_FULL_ACCELERATION_ARB           =$2027
Const WGL_SWAP_EXCHANGE_ARB               =$2028
Const WGL_SWAP_COPY_ARB                   =$2029
Const WGL_SWAP_UNDEFINED_ARB              =$202A
Const WGL_TYPE_RGBA_ARB                   =$202B
Const WGL_TYPE_COLORINDEX_ARB             =$202C
Const WGL_SAMPLE_BUFFERS_ARB			  =$2041
Const WGL_SAMPLES_ARB					  =$2042



Chris C(Posted 2006) [#2]
are we opening a book on wether brl will adopt stuff handed to them on a plate or not....


marksibly(Posted 2006) [#3]
Ok,

I've added these to Pub.Win32 'coz that's where gdi32 is.


Mark Tiffany(Posted 2006) [#4]
are we opening a book on wether brl will adopt stuff handed to them on a plate or not....

There have been a number of things added that the community have provided. The only restriction for 'Max is, naturally, that they need to be cross-platform.