Re: [AD] What to do about gl_ext.h |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers <allegro-developers@xxxxxxxxxx>
- Subject: Re: [AD] What to do about gl_ext.h
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Sun, 16 Oct 2016 16:58:23 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=bMFOf9KTtn2a/6xMiIIVqLB8WgZ9Dz5OlxZVcGMsxU4=; b=a+mHCQO7Eagr29VkNlPwn9VrChdE2/AtKv7XCCMw5gcVe1tmT9nBEGaXXvgacriYP0 nNacRW3C75+yTApGIqlT7IpT8TKCmQE9wvC4dgMEQGdNIiNMvh6jLNvZxhQjMAXYSypB HGb6RSn/cR8GTMnL4YKru/nzyWCVrwoI6+ZA/G7NcZBx4g4/zrHZGGXq6oiJHCrtB4WQ 5HIFSQjlD0j7ZmFkYwmVaJ2sLYFqhOwtE0Mc2t/S3XKlWeg+qYLjpaI0d3el84TDM4b3 LMUuy1eTQz+1MnCGKAAGD6gT+Z04wnHsnzRV7dQA/ztRsBBEd6stgNJrFp0xKgHZ/WdZ qsog==
What exactly is the problem with the ABI there again? Each OpenGL extension is basically a set of GL_* constants and a set of gl_* API entries. Since those API entries are loaded at runtime, Allegro provides a function pointer for each which is filled in when it loads them. Every time a new extension is added, that adds additional function pointers.
Anyway, wrapping it in ALLEGRO_UNSTABLE sounds good enough to me.