@@ -65,7 +65,6 @@ vgl.texture = function () {
6565 vgl . GL . TEXTURE_WRAP_S , vgl . GL . CLAMP_TO_EDGE ) ;
6666 renderState . m_context . texParameteri ( vgl . GL . TEXTURE_2D ,
6767 vgl . GL . TEXTURE_WRAP_T , vgl . GL . CLAMP_TO_EDGE ) ;
68- console . log ( 'Inside the setup vgl function' ) ;
6968 if ( this . m_image !== null ) {
7069 renderState . m_context . pixelStorei ( vgl . GL . UNPACK_ALIGNMENT , 1 ) ;
7170 renderState . m_context . pixelStorei ( vgl . GL . UNPACK_FLIP_Y_WEBGL , true ) ;
@@ -78,13 +77,10 @@ vgl.texture = function () {
7877 // console.log('m_pixelDataType ' + this.m_pixelDataType);
7978
8079 // FOR now support only 2D textures
81- console . log ( this . m_image ) ;
8280 renderState . m_context . texImage2D ( vgl . GL . TEXTURE_2D , 0 , this . m_internalFormat ,
8381 this . m_pixelFormat , this . m_pixelDataType , this . m_image ) ;
8482 } else if ( this . m_texture !== null ) {
8583 // Custom texture data object
86- console . log ( 'Rendering custom Texture with size ' + this . m_texture . width + 'and ' + this . m_texture . height ) ;
87- console . log ( this . m_texture . data ) ;
8884 renderState . m_context . pixelStorei ( vgl . GL . UNPACK_ALIGNMENT , 1 ) ;
8985 renderState . m_context . pixelStorei ( vgl . GL . UNPACK_FLIP_Y_WEBGL , true ) ;
9086
0 commit comments