mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Issue #457 - Make GLContextSymbols a pure aggregate POD
This commit is contained in:
parent
c782076add
commit
f2cfb9997e
2 changed files with 5 additions and 10 deletions
|
|
@ -25,15 +25,9 @@
|
|||
namespace mozilla {
|
||||
namespace gl {
|
||||
|
||||
struct GLContextSymbols
|
||||
struct GLContextSymbols final
|
||||
{
|
||||
GLContextSymbols() {
|
||||
Zero();
|
||||
}
|
||||
|
||||
void Zero() {
|
||||
memset(this, 0, sizeof(GLContextSymbols));
|
||||
}
|
||||
GLContextSymbols() = delete; // Initialize with {}.
|
||||
|
||||
typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
|
||||
PFNGLACTIVETEXTUREPROC fActiveTexture;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue