Add EXT_texture_filter_anisotropic to OpenGL loader
This commit is contained in:
parent
22726bc565
commit
8a37d29b5e
2 changed files with 12 additions and 1 deletions
|
|
@ -178,9 +178,14 @@ namespace gl
|
||||||
int m_numMissing;
|
int m_numMissing;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern LoadTest var_EXT_texture_filter_anisotropic;
|
||||||
|
|
||||||
} //namespace exts
|
} //namespace exts
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF,
|
||||||
|
TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE,
|
||||||
|
|
||||||
ALPHA = 0x1906,
|
ALPHA = 0x1906,
|
||||||
ALWAYS = 0x0207,
|
ALWAYS = 0x0207,
|
||||||
AND = 0x1501,
|
AND = 0x1501,
|
||||||
|
|
@ -482,6 +487,7 @@ namespace gl
|
||||||
BLEND_COLOR = 0x8005,
|
BLEND_COLOR = 0x8005,
|
||||||
BLEND_DST_ALPHA = 0x80CA,
|
BLEND_DST_ALPHA = 0x80CA,
|
||||||
BLEND_DST_RGB = 0x80C8,
|
BLEND_DST_RGB = 0x80C8,
|
||||||
|
BLEND_EQUATION = 0x8009,
|
||||||
BLEND_SRC_ALPHA = 0x80CB,
|
BLEND_SRC_ALPHA = 0x80CB,
|
||||||
BLEND_SRC_RGB = 0x80C9,
|
BLEND_SRC_RGB = 0x80C9,
|
||||||
CONSTANT_ALPHA = 0x8003,
|
CONSTANT_ALPHA = 0x8003,
|
||||||
|
|
@ -1013,6 +1019,7 @@ namespace gl
|
||||||
|
|
||||||
namespace _detail
|
namespace _detail
|
||||||
{
|
{
|
||||||
|
|
||||||
extern void (CODEGEN_FUNCPTR *BlendFunc)(GLenum sfactor, GLenum dfactor);
|
extern void (CODEGEN_FUNCPTR *BlendFunc)(GLenum sfactor, GLenum dfactor);
|
||||||
extern void (CODEGEN_FUNCPTR *Clear)(GLbitfield mask);
|
extern void (CODEGEN_FUNCPTR *Clear)(GLbitfield mask);
|
||||||
extern void (CODEGEN_FUNCPTR *ClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
extern void (CODEGEN_FUNCPTR *ClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,8 @@ namespace gl
|
||||||
{
|
{
|
||||||
namespace exts
|
namespace exts
|
||||||
{
|
{
|
||||||
|
LoadTest var_EXT_texture_filter_anisotropic;
|
||||||
|
|
||||||
} //namespace exts
|
} //namespace exts
|
||||||
|
|
||||||
namespace _detail
|
namespace _detail
|
||||||
|
|
@ -1523,11 +1525,13 @@ namespace gl
|
||||||
|
|
||||||
void InitializeMappingTable(std::vector<MapEntry> &table)
|
void InitializeMappingTable(std::vector<MapEntry> &table)
|
||||||
{
|
{
|
||||||
table.reserve(0);
|
table.reserve(1);
|
||||||
|
table.push_back(MapEntry("GL_EXT_texture_filter_anisotropic", &exts::var_EXT_texture_filter_anisotropic));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClearExtensionVars()
|
void ClearExtensionVars()
|
||||||
{
|
{
|
||||||
|
exts::var_EXT_texture_filter_anisotropic = exts::LoadTest();
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoadExtByName(std::vector<MapEntry> &table, const char *extensionName)
|
void LoadExtByName(std::vector<MapEntry> &table, const char *extensionName)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue