mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
wined3d: Load GL_EXT_texture3D from gl 1.2 if the extension is not there.
This commit is contained in:
parent
c25a792902
commit
894a705cc7
@ -91,7 +91,7 @@ static const struct {
|
||||
{"GL_EXT_secondary_color", EXT_SECONDARY_COLOR, 0 },
|
||||
{"GL_EXT_stencil_two_side", EXT_STENCIL_TWO_SIDE, 0 },
|
||||
{"GL_EXT_stencil_wrap", EXT_STENCIL_WRAP, 0 },
|
||||
{"GL_EXT_texture3D", EXT_TEXTURE3D, 0 },
|
||||
{"GL_EXT_texture3D", EXT_TEXTURE3D, MAKEDWORD_VERSION(1, 2) },
|
||||
{"GL_EXT_texture_compression_s3tc", EXT_TEXTURE_COMPRESSION_S3TC, 0 },
|
||||
{"GL_EXT_texture_env_add", EXT_TEXTURE_ENV_ADD, 0 },
|
||||
{"GL_EXT_texture_env_combine", EXT_TEXTURE_ENV_COMBINE, 0 },
|
||||
|
@ -3328,8 +3328,8 @@ typedef enum _GL_SupportedExt {
|
||||
USE_GL_FUNC(PGLFNGLSECONDARYCOLOR3FVEXTPROC, glSecondaryColor3fvEXT, EXT_SECONDARY_COLOR, NULL );\
|
||||
USE_GL_FUNC(PGLFNGLSECONDARYCOLORPOINTEREXTPROC, glSecondaryColorPointerEXT, EXT_SECONDARY_COLOR, NULL );\
|
||||
/* GL_EXT_texture3D */ \
|
||||
USE_GL_FUNC(PGLFNGLTEXIMAGE3DEXTPROC, glTexImage3DEXT, EXT_TEXTURE3D, NULL );\
|
||||
USE_GL_FUNC(PGLFNGLTEXSUBIMAGE3DEXTPROC, glTexSubImage3DEXT, EXT_TEXTURE3D, NULL );\
|
||||
USE_GL_FUNC(PGLFNGLTEXIMAGE3DEXTPROC, glTexImage3DEXT, EXT_TEXTURE3D, glTexImage3D);\
|
||||
USE_GL_FUNC(PGLFNGLTEXSUBIMAGE3DEXTPROC, glTexSubImage3DEXT, EXT_TEXTURE3D, glTexSubImage3D);\
|
||||
/* GL_ARB_vertex_program */ \
|
||||
USE_GL_FUNC(PGLFNGENPROGRAMSARBPROC, glGenProgramsARB, ARB_VERTEX_PROGRAM, NULL );\
|
||||
USE_GL_FUNC(PGLFNBINDPROGRAMARBPROC, glBindProgramARB, ARB_VERTEX_PROGRAM, NULL );\
|
||||
|
Loading…
Reference in New Issue
Block a user