Working glx pltf implementation
This commit is contained in:
@@ -12,10 +12,6 @@ typedef struct {
|
||||
HGLRC gl_ctx;
|
||||
} WinState;
|
||||
|
||||
#define PLTF_KEYS_X(lower, upper) \
|
||||
PltfKeyCallback key_##lower##_cb; \
|
||||
void* key_##lower##_cb_user_data;
|
||||
|
||||
typedef struct {
|
||||
const wchar_t* wc_name;
|
||||
HMODULE exe_module;
|
||||
@@ -23,13 +19,10 @@ typedef struct {
|
||||
HDC hdc;
|
||||
DynArray_DynString wgl_extensions;
|
||||
WinState window_state;
|
||||
PltfKeyCallback key_cb;
|
||||
} PltfStateWin32;
|
||||
|
||||
PLTF_KEYS(PLTF_KEYS_X);
|
||||
} PltfWin32State;
|
||||
|
||||
#undef PLTF_KEYS_X
|
||||
|
||||
extern PltfWin32State pltf_state;
|
||||
extern PltfStateWin32 pltf_state;
|
||||
extern HMODULE opengl_module;
|
||||
|
||||
bool pltf_has_wgl_extension(const char* name);
|
||||
|
||||
Reference in New Issue
Block a user