texImage2D_IF method
void
texImage2D_IF()
Implementation
void texImage2D_IF(
int target, int level, int internalformat, int format, int type, image) {
if(kIsWeb) {
texImage2D_NOSIZE(target, level, internalformat, format, type, image.data);
} else {
texImage2D(target, level, internalformat, image.width, image.height, 0, format,
type, image.data);
}
}