Fix for build error during aggressive warning build

This commit is contained in:
Robert Osfield 2007-09-13 11:00:12 +00:00
parent 86ab5a2392
commit d6e24c0dc2
2 changed files with 14 additions and 30 deletions

View File

@ -435,6 +435,15 @@ configure reflector "osg::Texture::Extensions"
end
end
configure reflector "osg::Texture2DArray::Extensions"
configure method "__typedef__void__APIENTRY_P1"
replace with ""
end
configure method "__typedef__GLboolean__APIENTRY_P1"
replace with ""
end
end
configure reflector "osg::State"
configure method "__typedef__void__APIENTRY_P1"
replace with ""

View File

@ -330,36 +330,11 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray::Extensions)
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
"",
"");
I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLTexImage3DProc,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__typedef__void__APIENTRY_P1,
"",
"");
I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLTexSubImage3DProc,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__typedef__void__APIENTRY_P1,
"",
"");
I_ProtectedMethod1(typedef, void, IN, APIENTRY *, CompressedTexImage3DArbProc,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__typedef__void__APIENTRY_P1,
"",
"");
I_ProtectedMethod1(typedef, void, IN, APIENTRY *, CompressedTexSubImage3DArbProc,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__typedef__void__APIENTRY_P1,
"",
"");
I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLCopyTexSubImageProc,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__typedef__void__APIENTRY_P1,
"",
"");
I_SimpleProperty(GLint, Max2DSize,
0,
__void__setMax2DSize__GLint);