;----------------------------------------------------
; filename: wgl_const.bb
; rev 0.1 2003.02.21
;
;----------------------------------------------------
;
; opengl direct for blitz
; using opengl from blitz without a wrapper dll
;
; by peter scheutz,... (your name here) 
;
; based on sublevel6's powerbasic headers
; link: root.tty0.org/sublevel6/?page=files 
;
;----------------------------------------------------
;
; this file contains windows constants for opengl.
;
;----------------------------------------------------





const pfd_type_rgba             = 0
const pfd_type_colorindex       = 1

const pfd_main_plane            = 0
const pfd_overlay_plane         = 1
const pfd_underlay_plane        = -1

const pfd_doublebuffer          = $00000001
const pfd_stereo                = $00000002
const pfd_draw_to_window        = $00000004
const pfd_draw_to_bitmap        = $00000008
const pfd_support_gdi           = $00000010
const pfd_support_opengl        = $00000020
const pfd_generic_format        = $00000040
const pfd_need_palette          = $00000080
const pfd_need_system_palette   = $00000100
const pfd_swap_exchange         = $00000200
const pfd_swap_copy             = $00000400
const pfd_swap_layer_buffers    = $00000800
const pfd_generic_accelerated   = $00001000
const pfd_support_directdraw    = $00002000

const pfd_depth_dontcare        = $20000000
const pfd_doublebuffer_dontcare = $40000000
const pfd_stereo_dontcare       = $80000000

const wgl_font_lines            = 0
const wgl_font_polygons         = 1

const lpd_doublebuffer          = $00000001
const lpd_stereo                = $00000002
const lpd_support_gdi           = $00000010
const lpd_support_opengl        = $00000020
const lpd_share_depth           = $00000040
const lpd_share_stencil         = $00000080
const lpd_share_accum           = $00000100
const lpd_swap_exchange         = $00000200
const lpd_swap_copy             = $00000400
const lpd_transparent           = $00001000

const lpd_type_rgba             = 0
const lpd_type_colorindex       = 1

const wgl_swap_main_plane       = $00000001
const wgl_swap_overlay1         = $00000002
const wgl_swap_overlay2         = $00000004
const wgl_swap_overlay3         = $00000008
const wgl_swap_overlay4         = $00000010
const wgl_swap_overlay5         = $00000020
const wgl_swap_overlay6         = $00000040
const wgl_swap_overlay7         = $00000080
const wgl_swap_overlay8         = $00000100
const wgl_swap_overlay9         = $00000200
const wgl_swap_overlay10        = $00000400
const wgl_swap_overlay11        = $00000800
const wgl_swap_overlay12        = $00001000
const wgl_swap_overlay13        = $00002000
const wgl_swap_overlay14        = $00004000
const wgl_swap_overlay15        = $00008000
const wgl_swap_underlay1        = $00010000
const wgl_swap_underlay2        = $00020000
const wgl_swap_underlay3        = $00040000
const wgl_swap_underlay4        = $00080000
const wgl_swap_underlay5        = $00100000
const wgl_swap_underlay6        = $00200000
const wgl_swap_underlay7        = $00400000
const wgl_swap_underlay8        = $00800000
const wgl_swap_underlay9        = $01000000
const wgl_swap_underlay10       = $02000000
const wgl_swap_underlay11       = $04000000
const wgl_swap_underlay12       = $08000000
const wgl_swap_underlay13       = $10000000
const wgl_swap_underlay14       = $20000000
const wgl_swap_underlay15       = $40000000

const wgl_swapmultiple_max      = 16    
