public static void BindTexture(/* final */ GL10 pGL, /* final */ int pHardwareTextureID) { /* Reduce unnecessary texture switching calls. */ if (GLHelper.sCurrentHardwareTextureID != pHardwareTextureID) { GLHelper.sCurrentHardwareTextureID = pHardwareTextureID; pGL.GlBindTexture(GL10Consts.GlTexture2d, pHardwareTextureID); } }