src/win/wgl.h
raw| 1 | #include "allegro5/internal/aintern_display.h" |
| 2 | #include "allegro5/platform/aintwin.h" |
| 3 | |
| 4 | #include <windows.h> |
| 5 | |
| 6 | |
| 7 | typedef struct ALLEGRO_DISPLAY_WGL |
| 8 | { |
| 9 | ALLEGRO_DISPLAY_WIN win_display; /* This must be the first member. */ |
| 10 | |
| 11 | /* Driver specifics */ |
| 12 | HDC dc; |
| 13 | HGLRC glrc; |
| 14 | } ALLEGRO_DISPLAY_WGL; |
| 15 | |
| 16 | int _al_win_determine_adapter(void); |