mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-18 16:20:31 +01:00
Fix compile-errors when compiling without _IRR_OPENGL_USE_EXTPOINTER_
Thanks @Maksym Hamarnyk for the patch. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6119 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
49b39e456d
commit
05fb5bc776
@ -2868,7 +2868,7 @@ inline void COpenGLExtensionHandler::extGlTextureSubImage2D(GLuint texture, GLen
|
|||||||
if (pGlTextureSubImage2D)
|
if (pGlTextureSubImage2D)
|
||||||
pGlTextureSubImage2D(texture, level, xoffset, yoffset,width, height,format, type, pixels);
|
pGlTextureSubImage2D(texture, level, xoffset, yoffset,width, height,format, type, pixels);
|
||||||
#else
|
#else
|
||||||
glTextureSubImage2D(texture, level, xoffset, yoffset,width, height,format, type, pixels));
|
glTextureSubImage2D(texture, level, xoffset, yoffset,width, height,format, type, pixels);
|
||||||
#endif // _IRR_OPENGL_USE_EXTPOINTER_
|
#endif // _IRR_OPENGL_USE_EXTPOINTER_
|
||||||
}
|
}
|
||||||
else if (FeatureAvailable[IRR_EXT_direct_state_access])
|
else if (FeatureAvailable[IRR_EXT_direct_state_access])
|
||||||
@ -2877,7 +2877,7 @@ inline void COpenGLExtensionHandler::extGlTextureSubImage2D(GLuint texture, GLen
|
|||||||
if (pGlTextureSubImage2DEXT)
|
if (pGlTextureSubImage2DEXT)
|
||||||
pGlTextureSubImage2DEXT(texture, target, level, xoffset, yoffset,width, height,format, type, pixels);
|
pGlTextureSubImage2DEXT(texture, target, level, xoffset, yoffset,width, height,format, type, pixels);
|
||||||
#else
|
#else
|
||||||
glTextureSubImage2DEXT(texture, target, level, xoffset, yoffset,width, height,format, type, pixels));
|
glTextureSubImage2DEXT(texture, target, level, xoffset, yoffset,width, height,format, type, pixels);
|
||||||
#endif // _IRR_OPENGL_USE_EXTPOINTER_
|
#endif // _IRR_OPENGL_USE_EXTPOINTER_
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user